-----Message d'origine-----
De : address@hidden
[mailto:address@hidden la part de Royce & Sharal
Pereira
Envoyé : lundi 22 novembre 2004 06:46
À : AVR-GCC
Objet : [avr-gcc-list] placing a variable in flash
Hi,
How can one assign a predetermined address to a variable in code?
Say I place the Oscillator Calib. byte at 0x1fff. How can retreive it in my
program? I have to 'tell' GCC to look for it at (byte)location 0x1fff; which
means I need to have a variable(or const) located at 0x1fff.
How does one do this?
Thanks,
--Royce.
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list