Imagecraft c compiler and development environment for the atmel avr
Imagecraft c compiler and development environment for the atmel avr
Imagecraft c compiler and development environment for the atmel avr
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
ICCV8 <strong>for</strong> AVR – C Compiler <strong>for</strong> Atmel AVRBootloader Applications ................................................................... 132Interrupt H<strong>and</strong>ling............................................................................. 133Accessing <strong>the</strong> UART, EEPROM, SPI, <strong>and</strong> O<strong>the</strong>r Peripherals ......... 135Accessing EEPROM......................................................................... 136Specific AVR Issues ......................................................................... 139C RUNTIME ARCHITECTURE ..................................................................141Data Type Sizes ................................................................................ 141Assembly Interface <strong>and</strong> Calling Conventions .................................. 142Function Pointers .............................................................................. 145C Machine Routines.......................................................................... 146Program <strong>and</strong> Data Memory Usage.................................................... 147Program Areas .................................................................................. 149Stack <strong>and</strong> Heap Functions................................................................. 152COMMAND-LINE COMPILER OVERVIEW ............................................153Compilation Process ......................................................................... 153Driver ................................................................................................ 154Compiler Arguments......................................................................... 155Preprocessor Arguments ................................................................... 157Compiler Arguments......................................................................... 158Assembler Arguments....................................................................... 160Linker Arguments ............................................................................. 161TOOL REFERENCES...................................................................................165MISRA / Lint Code Checking .......................................................... 165Code Compressor (tm)...................................................................... 176Assembler Syntax ............................................................................. 179Assembler Directives........................................................................ 183Assembly Instructions....................................................................... 188Linker Operations ............................................................................. 191ImageCraft Debug Format ................................................................ 192Librarian............................................................................................ 2003