Utilization of AVR memory space
Technical Note 26992
Arkitekturer:
AVR
Komponent:
compiler
Uppdaterad:
2015-11-06 12:27
Introduction
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.
Example
__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.