Development Environment on Linux

Discussions about technology in general
Post Reply
tango
Beginner
Posts: 2
Joined: Mon Oct 29, 2018 4:38 am

Development Environment on Linux

Post by tango » Mon Oct 29, 2018 5:24 am

Hello everyone,

I recently got a crazyflie to mess around with the firmware. Most of my work so far has been theoretical and I have little to no knowledge of embedded programming. I tried installing the VM but after a ton of failed trials (mostly to do with VirtualBox failing to detect Crazyradio) I gave up and decided to setup a development environment in my Ubuntu 16.04. I basically want to install all required tools that are provided in the virtual box in my OS and am trying to list them out. I've installed the following so far:

1) The python Client and cf-lib
2) KiCad (planning to work on some extension decks)
3) ROS Kinetic (planning to build upon wolfgang's package)
4) CrazyS (for SITL in Gazebo)
5) Eclipse

I know I've missed every tool required for compiling and building the firmware. It'll be really helpful if someone can list all other tools (and tool-chains) required for firmware development in Ubuntu 16.04. Thanks in advance guys!

arnaud
Bitcraze
Posts: 1826
Joined: Tue Feb 06, 2007 12:36 pm

Re: Development Environment on Linux

Post by arnaud » Tue Oct 30, 2018 12:41 pm

The only thing you are missing for the firmware is GCC. We use the GNU Arm Embedded Toolchain from ARM: https://developer.arm.com/open-source/g ... ain/gnu-rm. It can be downloaded as a .tar.gz, decompress it somewhere and add the bin folder to your path. When that is done you will be able to compile the firmwares.

A simpler way is to install it from the PPA as documented in the crazyflie-firmware repos but I have not tested that lately so I am not sure how well it is working: https://github.com/bitcraze/crazyflie-f ... bianubuntu

Post Reply