Hi,
I'm trying to lock a register in AVR32 for use as a global variable with GNU compiler, similar to IAR __regvar command.
I tried:
register volatile U32 number asm("R15");
...and a few other modifications. The compiler error I get with this line is "invalid register name for 'number'". I tried to wade through the header files and find correct register names but failed. I also tried static addresses but they fail as well.
Please help and thanks for your replies.