Page 1 of 1

[Tutorial] ReefAngel/Arduino to AVRStudio 4

Posted: Sun Jul 10, 2011 2:28 pm
by Bryan
All:

Thought I would share this tutorial for importing over the ReefAngel project to AVRStudio 4. Advantages are a much better IDE than the Arduino with the capability to debug your project. I have not yet tried any debugging, but no reason why it would not work. Any questions fire away and I will try and answer.
Tutorial_v1.zip

Re: [Tutorial] ReefAngel/Arduino to AVRStudio 4

Posted: Wed Jul 27, 2011 10:58 am
by Bryan
One advantage of using AvRStudio over Arduino IDE is the compiler flags can be modified. With the following changes it is possible to add a few more features to the project without running out of memory.

Capture3.PNG

Able to add WiFi and Relay expansion box with AvrStudio, with the Arduino IDE only WiFi

Re: [Tutorial] ReefAngel/Arduino to AVRStudio 4

Posted: Wed Jul 27, 2011 11:21 am
by rimai
I wonder why... I was under the impression Arduino IDE uses avr-gcc too. Maybe it is some flags not being used when compiled with AVRStudio.

Re: [Tutorial] ReefAngel/Arduino to AVRStudio 4

Posted: Wed Jul 27, 2011 11:50 am
by Bryan
Yes, uses avr-gcc . The flags are hard coded in the Arduino IDE program, no way of adding them that I am aware of, unless there is some trick in adding them to the preferences.txt file.