Page 1 of 1

Crazyflie 2 Problems using FPU

Posted: Thu Jun 18, 2015 5:56 pm
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

Re: Crazyflie 2 Problems using FPU

Posted: Thu Jul 09, 2015 2:24 pm
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.

Re: Crazyflie 2 Problems using FPU

Posted: Sat Aug 08, 2015 2:42 am
by chad
...and to close the loop on this thread, it looks like the FPU fix was committed here.