This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
projects:crazyflie:devenv:index [2012-11-15 21:07] arnaud [Setup on Ubuntu 10.04 LTS / 11.10] |
projects:crazyflie:devenv:index [2013-06-07 09:48] macke |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Software Tools ===== | ===== Software Tools ===== | ||
==== Software used ==== | ==== Software used ==== | ||
- | The following software | + | The following software |
- | * [[http://www.mentor.com/embedded-software/ | + | * [[https://launchpad.net/gcc-arm-embedded/+download| |
- | * [[http://http:// | + | GNU Tools for ARM Embedded Processors]] |
+ | * [[http:// | ||
These are available for both Windows and Linux. | These are available for both Windows and Linux. | ||
Line 26: | Line 27: | ||
< | < | ||
SUBSYSTEM==" | SUBSYSTEM==" | ||
+ | SUBSYSTEM==" | ||
</ | </ | ||
+ | ==== Setup on Ubuntu 13.04 ==== | ||
+ | Most of the software that you will need is now available from the repositories so just run the following command to install it: | ||
+ | < | ||
+ | sudo apt-get -y install mercurial python2.7 python-usb python-pygame python-qt4 qt4-designer openocd build-essential | ||
+ | </ | ||
+ | Run the following to download, unpack and copy the ARM Embedded toolchain: | ||
+ | < | ||
+ | wget https:// | ||
+ | tar xjf gcc-arm-none-eabi-4_7-2013q1-20130313-linux.tar.bz2 | ||
+ | mkdir ~/bin | ||
+ | mv gcc-arm-none-eabi-4_7-2013q1 ~/ | ||
+ | </ | ||
- | ==== Setup on Ubuntu 10.04 LTS / 11.10 ==== | + | And then also add the binaries to your path: |
+ | In order for the build system to find the toolchain when building the firmware it has to be added to the path: | ||
+ | < | ||
+ | echo -e " | ||
+ | source ~/.bashrc | ||
+ | </ | ||
- | TBD | ||
==== Setup on Windows ==== | ==== Setup on Windows ==== | ||
+ | TBD | ||
===== Compiling the copter code ===== | ===== Compiling the copter code ===== | ||
Line 50: | Line 69: | ||
A couple of variables can be set on the command line or shell environment to configure the build process: | A couple of variables can be set on the command line or shell environment to configure the build process: | ||
^ Variable ^ Default value ^ Usage ^ | ^ Variable ^ Default value ^ Usage ^ | ||
- | | CLOAD | | + | | CLOAD | |
- | | DEBUG | | + | | DEBUG | |
| CROSS_COMPILE | | | CROSS_COMPILE | | ||
| OPENOCD_INTERFACE | | | OPENOCD_INTERFACE | |