FreeRTOS-Arduino icon indicating copy to clipboard operation
FreeRTOS-Arduino copied to clipboard

Float not working with FreeRTOS_ARM

Open dansku opened this issue 9 years ago • 3 comments

I have been trying to use a float variable in the code and then it doesn't compile with a Teensy 3.5, everything else works.

For example on the frBlinkPrint.ino, if I only create a float variable and try to Serial.print it, the code doesn't write.

Any idea of why?

Thanks

dansku avatar Dec 19 '16 10:12 dansku

This version of FreeRTOS catches a hard fault exception when using floating point on Teensy 3.5/3.6.

I no longer support FreeRTOS or ChibiOS as an Arduino library. It is impossible to configure a CPU to run Teensy software and an RTOS.

I now do my projects on native ChibiOS with no Arduino code.

greiman avatar Dec 19 '16 12:12 greiman

Would you suggest using ChibiOS with the Teensy then? I will give it a try!

Thank you

dansku avatar Dec 19 '16 12:12 dansku

ChibiOS is best for STM32. There is only limited support for Kinetis.

greiman avatar Dec 19 '16 16:12 greiman