Created
July 24, 2015 22:02
-
-
Save Trex4Git/95c2be306dedc0a8c28c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# NOTE: make sure to pay attention when install qt_sdk | |
# and place it where recommended. | |
# Get prerequisites | |
sudo apt-get update | |
sudo apt-get install build-essential gdb wget debhelper | |
sudo apt-get install git-core git-doc gitk git-gui | |
sudo apt-get install libglu1-mesa-dev | |
sudo apt-get install libudev-dev zlib1g-dev | |
sudo apt-get install gcc-multilib | |
sudo apt-get install libusb-1.0-0-dev | |
# Get prerequisites for open ocd | |
#sudo apt-get install autotools-dev # http://askubuntu.com/questions/45480/installing-aclocal-on-ubuntu-11-04 | |
#sudo apt-get install automake | |
#sudo apt-get build-dep openocd libtool automake aclocal libftdi-dev makeinfo texinfo | |
git clone https://github.com/YourGitAccount/TauLabs.git | |
cd TauLabs | |
# Get prerequisites for open ocd | |
sudo apt-get build-dep openocd libftdi-dev # https://wiki.openpilot.org/display/WIKI/Linux+-+Development+Environment | |
# Set up rules so firmware is detected | |
sudo cp package/linux/deb_common/taulabs.udev /etc/udev/rules.d/45-taulabs-permissions.rules | |
sudo udevadm control --reload-rules | |
# Get remaining tools for building software | |
make qt_sdk_install # enter the path as prompted by the install script | |
make arm_sdk_install | |
make openocd_install | |
# Build the GCS and firmware | |
make gcs | |
make all_flight |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment