Quote:
Originally Posted by Magister
*warning* untested as I do not have an MPGuino
If you have installed WinAVR and it's in your PATH, then open a command prompt and copy/paste:
|
Thanks! I went through the motions and generated both .elf and .hex files, but I see in the .cpp file some includes for .h files that are in the Arduino package and also in the WinAVR package.
There was a lot of warnings when the .cpp file was compiled but oddly no errors for missing .h files so somehow they're path'd
I own an Atmel AVRISP MKII, dug it out, downloaded AVR Studio, installed it and found that AVR Studio supports AVR GCC !! The IDE is pretty nice (compared to using the command line) and has a built in simulator.
When I created a project and loaded 'mpguino.cpp' in AVR Studio I could build the program and the resulting warning messages matched that from the dos prompt AVR-GCC stuff you wrote above.
Attached is the output log from the build.
Are all these errors normal?
__________________
1992 Geo Metro, 1.0L 5spd, 435,000 miles on the original engine and trans!
- knuckles/hubs/brakes/13" wheels from a 2000 Metro
- running 175 70R13
- averaging 51.7 MPG, 56.9MPG best tank.
- self built MPGuino
-
http://www.dschmidt.com/MPGuinoJBD.html