11.07.2015 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ICCV8 <strong>for</strong> AVR – C Compiler <strong>for</strong> Atmel AVRCompiler Arguments -A -ATurn on strict ANSI checking. Single -A turns on some ANSI checking. -eAccept extensions including 0b???? binary constants. See Pragmas <strong>and</strong>Extensions. -gGenerate debug in<strong>for</strong>mation.When using with <strong>the</strong> driver, <strong>the</strong> following options must be used with <strong>the</strong> -Wf- prefix,such as -Wf-str_in_flash.Processor (best to use “Instruction Set” section below) -M<strong>avr</strong>_enhancedGenerate enhanced core instructions <strong>and</strong> call <strong>and</strong> jmp. -M<strong>avr</strong>_extendedSame as -M<strong>avr</strong>_enhanced, plus 3 byte extended call <strong>and</strong> jmp addressing <strong>and</strong>extended function table in efunc_lit area. -M<strong>avr</strong>_enhanced_smallGenerate enhanced core instructions but not call <strong>and</strong> jmp. -M<strong>avr</strong>_megaGenerate ATMega instructions such as call <strong>and</strong> jmp instead of rcall <strong>and</strong>rjmp.Instruction Set -MEnhancedEnhanced core instructions. -MExtended3 byte extended call <strong>and</strong> jmp addressing <strong>and</strong> extended function table inefunc_lit area. -MHasMulUse <strong>the</strong> MUL <strong>and</strong> related instructions.158

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!