home

How to compile a project with AVGA


The platform was developped under and is designed for the AVR GNU/GCC compiler.



  • For OS Linux, download the latest AVR GCC release and simply add all the core source files and util source files you want to use to your makefile.


  • For OS Windows, there is a port of AVR GCC called WinAVR. I recommend using AVR studio as IDE, directly supporting WinAVR compiler. Add all the core source files and util source files you want to use to the project in AVR studio project workspace.



Optimization level is recommended to be set to -O2, best time efficiency has been measured with this level. Add this option to CFLAGS in your makefile. In AVR Studio, set this under Project->Configuration Options.