Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Float not working with FreeRTOS_ARM #9

Open
dansku opened this issue Dec 19, 2016 · 3 comments
Open

Float not working with FreeRTOS_ARM #9

dansku opened this issue Dec 19, 2016 · 3 comments

Comments

@dansku
Copy link

dansku commented Dec 19, 2016

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

@greiman
Copy link
Owner

greiman commented Dec 19, 2016

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 greiman closed this as completed Dec 19, 2016
@greiman greiman reopened this Dec 19, 2016
@dansku
Copy link
Author

dansku commented Dec 19, 2016

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

Thank you

@greiman
Copy link
Owner

greiman commented Dec 19, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants