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

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 AVRInstruction Set - Select instruction set supported by <strong>the</strong> device: Classic,Enhanced, Enhanced (no MUL), or XMega. Only changeable if <strong>the</strong> device is set toCustom.Bootloader Options - Enabled only <strong>for</strong> devices that support boot loaders such as<strong>the</strong> newer ATMega devices. You can specify whe<strong>the</strong>r <strong>the</strong> project is <strong>for</strong> buildingApplication Code or Bootloader code, <strong>and</strong> how large <strong>the</strong> boot size is. SeeBootloader Application.Internal vs. External SRAM - Specify <strong>the</strong> type of data SRAM on your targetsystem. If you select external SRAM, <strong>the</strong> correct MCUCR bits will be set.NonDefault Startup - a startup file is always linked with your program (see StartupFile). In some cases, you may have different startup files based on <strong>the</strong> project.This option allows you to specify <strong>the</strong> name of <strong>the</strong> startup file. If <strong>the</strong> filename is notan absolute pathname, <strong>the</strong>n <strong>the</strong> startup file must be in one of <strong>the</strong> librarydirectories.O<strong>the</strong>r Options - this allows you to enter any linker comm<strong>and</strong>-line arguments. Forexample,source file:#pragma text:bootloadervoid boot() ... // function definition#pragma text:text // resetUnder “O<strong>the</strong>r Options,” add-bbootloader:0x????where 0x???? is <strong>the</strong> starting address of <strong>the</strong> area “bootloader.” This is useful<strong>for</strong> writing a main program with a bootloader in <strong>the</strong> high memory. If you arewriting a st<strong>and</strong>alone bootloader, <strong>the</strong>n you can simply select <strong>the</strong> “bootloader”memory configuration in <strong>the</strong> Build Options - Target dialog box.63

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

Saved successfully!

Ooh no, something went wrong!