Crazyflie 2 Problems using FPU

Firmware/software/electronics/mechanics
Post Reply
Fr4nky
Beginner
Posts: 13
Joined: Tue May 13, 2014 7:00 pm
Location: Vienna

Crazyflie 2 Problems using FPU

Post by Fr4nky »

Hello,

I am working on some code for the CF2 which would benefit from using the hardware FPU in the STM32F405.
I have tried setting the USE_FPU flag in the makefile to 1, and it compiles just fine.
Turning the CF on also works, but about 0.5s after connecting to the CF with the client, the CF seem to lock up (red and orange led on, no blinking charge-led).
The logging and parameter TOC are not downloaded but the client gets most of the startup messages in the console and keeps showing good link quality.

Has anyone else tried using the FPU on the CF2?
Any tips on how to get it working?
Why is it disabled by default?

Thanks and Regards,
Daniel
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Crazyflie 2 Problems using FPU

Post by marcus »

Hi,

I think that it's a miss on our part not enabling the FPU, we've forgotten about it. I've added a new issue on GitHub to enable it.
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Crazyflie 2 Problems using FPU

Post by chad »

...and to close the loop on this thread, it looks like the FPU fix was committed here.
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Post Reply