Utilization of AVR memory space
Technical Note 26992
11/6/2015 12:27 PM
This Technical Note document describes modified Harvard architectures as used by different Atmel AVR microcontroller versions, and what data that is put in which segment.
__flash int fi = 1; // fi will end up in the flash code segment
Note: For devices that have unified address space as Atmega4809, ATtiny804 etc.. using the const keyword gives faster and smaller references that __flash.
All product names are trademarks or registered trademarks of their respective owners.