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

teensy31 stops execution when using float #162

Closed
gandy92 opened this issue Apr 8, 2015 · 3 comments
Closed

teensy31 stops execution when using float #162

gandy92 opened this issue Apr 8, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@gandy92
Copy link

gandy92 commented Apr 8, 2015

porting my avr arduino firmware to teensy 3.1 using arm4, I encountered a strange problem.

The code compiles and uploads perfectly, but execution stops at the first point a float variable is used. Assigning a value to a float variable seems not to be the problem (maybe the code is removed during optimization?) but a multiplication already makes the arm stop dead.

has anyone seen this before and know how to fix this? I can do integer operations for now but eventually I need to use libraries that make internal use of floating point arithmetics.

thanks, Andy.

@ivankravets
Copy link
Member

@gandy92 I've just removed hard FPU. Please upgrade PlatformIO to the latest develop and update all platforms via > platformio update.

Did it help you?

@ivankravets ivankravets added the bug label Apr 8, 2015
@ivankravets ivankravets self-assigned this Apr 8, 2015
@ivankravets ivankravets added this to the 1.4.0 milestone Apr 8, 2015
@gandy92
Copy link
Author

gandy92 commented Apr 8, 2015

That was fast 😄

Thank you for fixing this, everything works like a charme, now.

@ivankravets
Copy link
Member

The issues from @gandy92 should be fixed as soon as possible 😊

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

No branches or pull requests

2 participants