User Tools

Site Tools


projects:crazyflie:devenv:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
projects:crazyflie:devenv:index [2012-03-11 10:06]
arnaud
projects:crazyflie:devenv:index [2014-12-16 00:11]
chad Added a Setup on Mac OS X section with a link to a post about the Mac OS X dev environment.
Line 1: Line 1:
-====== Development environment ====== 
- 
-===== Software Tools ===== 
-==== Software used ==== 
-The following software is in the Crazyflie development environment toolchain: 
-  * [[http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/|Sourcery CodeBench (formally known as Sourcery G++) Lite]] 
-  * [[http://http://openocd.sourceforge.net/|openOCD]] 
-These are available for both Windows and Linux. 
- 
-==== Setup on Fedora 16 ==== 
-=== Installing === 
- 
-=== Fix permissions === 
-In order to fix the permissions so it's possible to use the JTAG and USB Radio without being root do the following steps. 
-<code> 
-sudo usermod -a -G plugdev username 
-</code> 
-Note that you will need to logout and in again for the added group to take effect. 
- 
-Find the JTAG vendor/product ID by running lsusb. 
- 
-Create a file named /etc/udev/rules.d/99-jtagkey.rules and add the following: 
-<code> 
-SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="cff8", MODE="0664", GROUP="plugdev" 
-</code> 
- 
-Create a file named /etc/rules.d/99-crazyradio.rules and add the following: 
-<code> 
-SUBSYSTEM=="usb", ATTRS{idVendor}=="1915", ATTRS{idProduct}=="7777", MODE="0664", GROUP="plugdev" 
-</code> 
- 
-==== Setup on Windows ==== 
- 
-===== Compiling the copter code ===== 
- 
-The Crazyflie project is based on a Makefile. A couple of target are useful: 
-<code bash> 
-$ make         # Make copter firmware 
-$ make V=1     # Make copter firmware and shows the full compilation commands 
-$ make CLOAD=1 # make copter firmware to be used with the bootloader 
-$ make flash   # Flash firmware using openOCD and the jtagKey 
-$ make reset   # Reset the copter using openOCD 
-$ make openocd # Launch openOCD and connect it to the copter (can then be used via the telnet interface and/or GDB) 
-</code> 
- 
-It must be noted that the openOCD targets do not make the copter code, hence the compilation must be called first with ''make'' and then ''make flash'' can be called. 
  
projects/crazyflie/devenv/index.txt · Last modified: 2021-06-24 16:47 by kimberly