Thank you all, here's my status:
I tried in the makefile:
ALL_CFLAGS = -mmcu=$(MCU) -I. $(CFLAGS) $(GENDEPFLAGS) -fvolatile
but the compiler doesn't like it, it looks like I don't know how to add a
flag :-(
I tried:
uint8_t volatile ipCh[6] = {0, 0, 0, 0, 0, 0};
no dice.
I tried:
typedef volatile uint8_t vuint8_t;
volatile vuint8_t iCh[6] = {0, 0, 0, 0, 0, 0};
nope
I do have to make sure I'm not braking something else when I'm changing from
independent variables to array...
Cat
_________________________________________________________________
Send a smile, make someone laugh, have some fun! Check out
freemessengeremoticons.caMessage
RE: [AVR-Chat] Re: Help: volatile variable versus volatile array for ISR access
2007-11-03 by Cat C