-
Notifications
You must be signed in to change notification settings - Fork 0
Windows
This is a work in progress. If you see anything wrong or have extra info, please fix or add it.
This page describes the procedures for setting up a Windows machine to compile TauLabs firmware and GCS software. This setup is based on the OpenPilot Windows setup.
Git - http://git-scm.com/downloads
Python 2.7.3 - http://www.python.org/download/releases/2.7.3/
Qt 4.8.1 - http://jenkins.taulabs.org/distfiles/
Qt Creator - http://qt-project.org/downloads
GNU Tools for ARM Embedded Processors 4.7+ - https://launchpad.net/gcc-arm-embedded/+download
MinGW - (packaged with QtSDK)
The following has been validated as providing a working build environment on Windows Server 2008 R2 when using the default paths that the installers provide.
- Install msysgit. You will use this to clone the TauLabs repository to your machine. It also provides a bash shell.
- Install Python 2.7.3. Python is used when building firmware.
- Install the ARM Toolchain. The ARM cross compiler used to build firmware.
- Install Qt SDK. Qt provides much of the GUI framework behind GCS. If you install the SDK then some MinGW tools are provided.
Clone the repository to your computer.
After downloading the code from the repo you need to copy a few files from the code into Git’s install directory.
<top>\make\winx86\bin\* (all files) to C:\Program Files\Git\bin
<top>\make\winx86\cmd\* (all files) to C:\Program Files\Git\cmd
Edit the copied file C:\Program Files\Git\cmd\sh.cmd to ensure the paths to the installed tools are correct. (e.g. https://gist.github.com/peabody124/5695814 )
To enter the build environment, launch cmd.exe and type"sh" (without quotes) into command prompt.
- make sure the TauLabs repo doesn't reside in a deep path, the ARM tool chain appears to have a problem with long path names... C:\TauLabs works