Skip to content

Instantly share code, notes, and snippets.

/-

Created May 14, 2015 17:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/658dda4c288be0b49564 to your computer and use it in GitHub Desktop.
Save anonymous/658dda4c288be0b49564 to your computer and use it in GitHub Desktop.
#!/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
sudo apt-get install libglu1-mesa-dev
sudo apt-get install libudev-dev zlib1g-dev
sudo apt-get install gcc-multilib
git clone git://github.com/TauLabs/TauLabs.git
cd TauLabs
# 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
make arm_sdk_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