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 AVRProject ManagementThe IDE’s Project Manager allows you to group a list of files into a project. This allowsyou to break down your program into small modules. When you per<strong>for</strong>m a projectBuild function, only source files that have been changed are recompiled. Header filedependencies are automatically generated. That is, if a source file includes a headerfile, <strong>the</strong>n <strong>the</strong> source file will be automatically recompiled if <strong>the</strong> header file changes.Unlike <strong>the</strong> IDE in <strong>the</strong> previous versions of our products, C::B does not use <strong>the</strong>st<strong>and</strong>ard makefile but instead uses an internal XML-based schema. Since a numberof our users like <strong>the</strong> option of using a st<strong>and</strong>ard makefile (perhaps in <strong>the</strong>ir batch build<strong>and</strong> test process), C::B can generate a makefile if requested.Creating a New ProjectTo create a new project, use File->New->Project. Be sure that <strong>the</strong> project typeImageCraft Projects is on <strong>the</strong> dropdown box list. Then click on <strong>the</strong> project icon<strong>and</strong> <strong>the</strong>n <strong>the</strong> GO button. You can <strong>the</strong>n follow <strong>the</strong> wizard’s instructions to create a newproject. The project title will be used as <strong>the</strong> root name of project directories, projectfile, <strong>and</strong> also <strong>the</strong> output file.When you create a new project, C::B automatically creates a main.c <strong>and</strong> add it to <strong>the</strong>project list. If you already have your own source files, you may remove <strong>the</strong> default filefrom your project (right-click <strong>the</strong> project name on <strong>the</strong> project pane, <strong>the</strong>n exp<strong>and</strong> <strong>the</strong>sources icon <strong>and</strong> select <strong>the</strong> file main.c, <strong>and</strong> <strong>the</strong>n select Remove File fromProject).You can create new file using File->New->Files, <strong>and</strong> select <strong>the</strong> file type. You have<strong>the</strong> option to add <strong>the</strong> new file to <strong>the</strong> project or you may add any files to <strong>the</strong> project byProject->Add Files.Project Build OptionsCompiler options are kept with <strong>the</strong> project files so that you can have different projectswith different targets. When you start a new project, a default set of options is used.You may set <strong>the</strong> current options as <strong>the</strong> default or load <strong>the</strong> default options into <strong>the</strong>current option set.To avoid cluttering up your project directory, you may specify that <strong>the</strong> output files <strong>and</strong><strong>the</strong> intermediate files that <strong>the</strong> tools generate reside in a separate directory. Usuallythis is a subdirectory under your project directory. See Build Options - Paths.48

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

Saved successfully!

Ooh no, something went wrong!