Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 7 months ago.
BUG: NUCLEO-F401RE FPU enablement causing Hard fault?
Earlier this week I rebuilt a binary for the ST Nucleo F401RE with some very minor changes using the online toolchain. Whist this code had operated before, it would now Hard fault every time. Rolling back to no changes and compiling a new binary had the same effect.
Upon reading this thread: https://mbed.org/questions/3236/When-will-the-FPU-be-enabled-on-the-Nucl/
I exported the project to Keil uVision, set 'Floating Point Hardware' to 'Not Used', compiled and loaded my binary - and it works again as expected, both with and without my minor changes.
Possible online compiler update in the past 4 weeks (delta since I compiled the last working binary with online tools) breaking things somewhere?