This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
projects:crazyflie:devenv:index [2013-06-07 09:48] macke |
projects:crazyflie:devenv:index [2021-06-24 16:47] (current) kimberly |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round important 60%> | ||
+ | This page has deprecated and will be archived. Please go to [[https:// | ||
+ | </ | ||
====== Development environment ====== | ====== Development environment ====== | ||
Line 54: | Line 57: | ||
TBD | TBD | ||
+ | |||
+ | ==== Setup on Mac OS X ==== | ||
+ | |||
+ | Development environment setup is relatively easy on Mac OS X. | ||
+ | |||
+ | [[http:// | ||
+ | |||
===== Compiling the copter code ===== | ===== Compiling the copter code ===== | ||
The Crazyflie project is based on a Makefile. A couple of target are useful: | The Crazyflie project is based on a Makefile. A couple of target are useful: | ||
<code bash> | <code bash> | ||
- | crazyflie$ make # Make copter firmware | + | crazyflie-fimrware$ make # Make copter firmware |
- | crazyflie$ make V=1 # Make copter firmware and shows the full compilation commands | + | crazyflie-fimrware$ make V=1 # Make copter firmware and shows the full compilation commands |
- | crazyflie$ make CLOAD=1 # make copter firmware to be used with the bootloader | + | crazyflie-fimrware$ make CLOAD=1 # Make copter firmware to be used with the bootloader |
- | crazyflie$ make cload # Flash the firmware using the radio bootloader | + | crazyflie-fimrware$ |
- | crazyflie$ make flash # Flash firmware using openOCD and the jtagKey | + | crazyflie-fimrware$ make cload # Flash the firmware using the radio bootloader |
- | crazyflie$ make reset # Reset the copter using openOCD | + | crazyflie-fimrware$ make flash # Flash firmware using openOCD and the jtagKey |
- | crazyflie$ make openocd # Launch openOCD and connect it to the copter (can then be used via the telnet interface and/or GDB) | + | crazyflie-fimrware$ make reset # Reset the copter using openOCD |
+ | crazyflie-fimrware$ make openocd # Launch openOCD and connect it to the copter (can then be used via the telnet interface and/or GDB) | ||
</ | </ | ||
Line 75: | Line 86: | ||
| V | 0 | Verbose mode. If V=1 the compilers command lines will be displayed. If V=0 only the tool type and target file are displayed. | | | V | 0 | Verbose mode. If V=1 the compilers command lines will be displayed. If V=0 only the tool type and target file are displayed. | | ||
| PYTHON2 | python | | PYTHON2 | python | ||
+ | | USE_ESKYLINK| | ||
It is possible to create a file // | It is possible to create a file // | ||
Line 87: | Line 99: | ||
The copter can be loaded with a radio bootloader contained in the crazyloader folder. The dev environment is very similar to the copter one: | The copter can be loaded with a radio bootloader contained in the crazyloader folder. The dev environment is very similar to the copter one: | ||
<code bash> | <code bash> | ||
- | crazyloader$ make # Make the bootoader | + | crazyflie-bootloader$ make # Make the bootoader |
- | crazyloader$ make flash # Flash the bootloader with openOCD | + | crazyflie-bootloader$ make flash # Flash the bootloader with openOCD |
</ | </ |