forked from rob42/freeboardPLC
-
Notifications
You must be signed in to change notification settings - Fork 0
OMEA/freeboardPLC
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NOTES: Current build is done on a Kubuntu 12.10 linux laptop. It should build on any OS with a reasonably current version of eclipse IDE. If you just want the binary hex files to upload to the arduino mega they are in the Release[Mega_model] directory. However to open and compile the project: Get Eclipse from http://eclipse.org/ and install it anywhere, but usually in C:\eclipse for windows. DONT pick a directory with spaces, and dont use any in projects - it will cause you grief :-) In eclipse install the Arduino and eGit plugins - google will help. Follow the instructions from github to install git on your PC, and clone this project and your chosen Arduino_ATmegaxxxx project to you local repository. Start eclipse and File>Import>From Git and follow the wizard. You should end up with two projects in your workspace. On the Arduino_ATmegaxxxx project Rright-click and Clean, then Build Project. It should complete without errors, if not look in the Console tab for the full build log. There are some hints in COmpileError.txt. You can email me if needed. Do the same for the FreeboardPLC project. There are two options: right-click project>Build configurations>Set Active>(choose your board) I found eclipse would not upload for me, so I use the commandline to load arduino on USB0. Install the arduino environment, and upload any simple example sketch. In the console window you will see the commandline used. Copy and adjust. For me, on linux: FREEBOARD_HOME= ~/gitrep/freeboardPLC ARDUINO_HOME=/home/robert/dev/arduino-1.0.2/ cd $FREEBOARD_HOME/Release1280 ~/gitrep/freeboardPLC/Release1280$ $ARDUINO_HOME/hardware/tools/avrdude -patmega1280 -carduino -P/dev/ttyUSB0 -b57600 -D -v -v -v -v -Uflash:w:FreeBoardPLC.hex:a -C$ARDUINO_HOME/hardware/tools/avrdude.conf
About
Freeboard arduino code for arduino mega 1280, doing wind,gps,anchor,nmea, and autopilot, see rob42/freeboard-server
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published