Update modified firmware from ubuntu 14.04
Posted: Wed Feb 03, 2016 1:53 am
Hello! I struggled for some time to be able to update a modified version of the firmware from an ubuntu 14.04 pc, and I finally got it working. Here https://github.com/bitcraze/crazyflie-f ... bianubuntu the section corresponding to ubuntu is listed as "TODO". So I thought I could share the steps I followed.
First, go to the parent directory of the crazyflie-clients-python folder (I guess everyone already cloned that project) and clone the firmware project: . Now, cd into the crazyflie-firmware folder and run the command . You are probably gonna get an error saying 'make: arm-none-eabi-gcc: Command not found'. You could try , but that's not gonna work. If you do that, you are gonna bypass the previous error, but now you're gonna get "arm-none-eabi-gcc: error: nano.specs: No such file or director".
The solution? Don't install the official package (so, if you already did, use apt-get remove to uninstall it). Add this repository, from the developers of gcc arm embedded:, and then run . Now, you can install the necessary packages: .
Back again in the crazyflie-firmware folder, run. Now it should run without errors. Finally, set the crazyflie in bootloader mode (with the crazyflie off, press the on button for 3 seconds, until the blue leds start to blink), and run .
That's it! I hope this helps someone!
First, go to the parent directory of the crazyflie-clients-python folder (I guess everyone already cloned that project) and clone the firmware project:
Code: Select all
git clone https://github.com/bitcraze/crazyflie-firmware
Code: Select all
make
Code: Select all
sudo apt-get install gcc-arm-none-eabi
The solution? Don't install the official package (so, if you already did, use apt-get remove to uninstall it). Add this repository, from the developers of gcc arm embedded:
Code: Select all
sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded
Code: Select all
sudo apt-get update
Code: Select all
sudo apt-get install libnewlib-arm-none-eabi
Back again in the crazyflie-firmware folder, run
Code: Select all
make
Code: Select all
make cload
That's it! I hope this helps someone!
