-
Notifications
You must be signed in to change notification settings - Fork 20
Building with CMake
jgoppert edited this page Feb 13, 2012
·
7 revisions
wget http://arduino.googlecode.com/files/arduino-0023.tgz -O /tmp/arduino-0023.tgz
sudo tar xvzf /tmp/arduino-0023.tgz -C /usr/local/share
mkdir -p ~/Projects
cd ~/Projects
git clone git://github.com/arktools/ardupilotone.git
PORT is the usb of the FTDI cable connect to the autopilot. BOARD is mega for (1280) and mega2560 for (2560)
cd ~/Projects/ardupilotone
mkdir build
cd build
cmake .. -DBOARD=mega -DARDUINO_SDK_PATH=/usr/local/share/arduino-0023 -DPORT=/dev/ttyUSB0
make
make upload