[Tutorial] ReefAngel/Arduino to AVRStudio 4

Would you like to help?
Share your walkthrough tutorial with others

Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.
PostPosted: Sun Jul 10, 2011 2:28 pm
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
(652.82 KiB) Downloaded 197 times
-=Bryan=-

Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.
PostPosted: Wed Jul 27, 2011 10:58 am
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
Capture3.PNG (25.86 KiB) Viewed 2615 times



Able to add WiFi and Relay expansion box with AvrStudio, with the Arduino IDE only WiFi
Attachments
Capture1.PNG
Capture1.PNG (4.57 KiB) Viewed 2615 times
-=Bryan=-

Posts: 12044
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Wed Jul 27, 2011 11:21 am
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.
Roberto.

Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.
PostPosted: Wed Jul 27, 2011 11:50 am
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.
-=Bryan=-

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron