forked from zephyrproject-rtos/gsoc-2022-arduino-core
-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
NANO: using floating point crashes the processor. #57
Comments
Also Arduino_HS300x example sketch ReadSensorImperial.ino is now running and showing Temp and Humidty. |
Wonder if we should create new PR for this or add the change to one of our two open ones. |
KurtE
added a commit
to KurtE/ArduinoCore-zephyr
that referenced
this issue
Jan 28, 2025
A lot of the crashes were happening because of this. More details in issue arduino#57
facchinm
pushed a commit
to KurtE/ArduinoCore-zephyr
that referenced
this issue
Jan 29, 2025
A lot of the crashes were happening because of this. More details in issue arduino#57
Fixed by #50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have been running into some SPI and Wire issues. So while I was testing out some SPI,
I found that I could run a simple SPI sketch which worked. I also was able to output
to a simple ST7735 display. So then wondered if maybe an issue with floating point.
So I tried a simple sketch:
Runs fine, now add in any floating point
The board completely crashes. Any hint of floating point appears to crash.
Note: first attempt was to simply print out f like: Serial.print(f, 3);
But wanted to rule out floating point print issue...
The text was updated successfully, but these errors were encountered: