-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
nrf52810 - no fpu #17
Comments
Hello @bitmat1, thank you for opening this issue and for providing a link to the potential solution. For testing please try removing the 3 lines from here n-able-Arduino/cores/nRF5/freertos/port.c Line 231 in 44abed5
|
Thanks @h2zero for your quick reply, I removed those lines, and also 3 more from line 208 onwards in the same file, which also referenced the fpu and then it compiled. |
That file will need to be added so that the startup is correct.
That would be advised for sure. If you don't mind sharing, I would like to ask that you submit a PR with your changes so others may benefit as well. |
Yes absolutely, I've not made a pull request before, but i will do so and test it once i have this working. |
I figured it out! I had copied the system_nrf52810 file from another copy of the mdk and wasn't correct and had to make an edit to the nrfx_config_nrf52810 file to enable nvmc. Now it's working and I'm very happy that i worked this out with your help. I will make a pull request. Thanks. |
I am unable to get this to compile for an nrf52810 as it has no floating point unit.
Is it possible to change the freertos to compile without FPU??
I've added an entry for it in Boards.txt and added system_nrf52810.h and .c files to the nrf mdk, but when i select "generic 52810" I get this error:
#error This port can only be used when the project options are configured to enable hardware floating point support
Weirdly, if I select generic nrf51822 as the board then it compiles and runs ok on this nrf52810 custom board, and example code shows that a bluetooth device is available. Should I just use this, or will all the pins and interrupts be wrong?
This post gives a solution but asm format is different and mighty confusing! https://devzone.nordicsemi.com/f/nordic-q-a/30103/freertos-on-nrf52810
The text was updated successfully, but these errors were encountered: