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 AVRIDE <strong>and</strong> <strong>the</strong> CompilerKeep in mind that <strong>the</strong> <strong>compiler</strong> <strong>and</strong> <strong>the</strong> IDE are separate programs: <strong>the</strong> <strong>compiler</strong> is <strong>the</strong>C language translator <strong>and</strong> <strong>the</strong> IDE is a GUI shell on top to make programming using<strong>the</strong> <strong>compiler</strong> easier.For example, <strong>the</strong> unit of translation <strong>for</strong> <strong>the</strong> <strong>compiler</strong> is a source file (usually endingwith a .c extension), whereas <strong>the</strong> project management feature (see next section) isprovided by <strong>the</strong> IDE. What this means is that <strong>the</strong> <strong>compiler</strong> treats things that aredefined in one source file (e.g., #define, variable declaration, etc.) separate fromo<strong>the</strong>r source files, unless one file is #included by ano<strong>the</strong>r file. In which case, <strong>the</strong>effect is that <strong>the</strong> <strong>compiler</strong> textually substitutes <strong>the</strong> #include statement with <strong>the</strong>content of <strong>the</strong> included file.47

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

Saved successfully!

Ooh no, something went wrong!