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.
10 years, 1 month ago.
Online compiler - wrong compiler flags ?
I try to compile the mbed-rtos. After adding some defines the compiler struggle at HAL_CM4.c unknown opcode 'VSTMDBEQ', maybe wrong target CPU?
The code has to be compiled with : thumb fpu vfpv3
Seems like the 'known' issue that the FPU is not enabled in the F401 code.
posted by Erik - 07 Mar 2014Yes, it is. I reported it and can enable it . I have been waiting for bcostm response why it was not enabled.
posted by Martin Kojtal 07 Mar 2014I am having the same problem. I added the defines for the Nucleo F401RE eg defined(TARGET_STM32F401RE) but now the unknown opcodes. Reading on the Keil forum confirms that "\-\-thumb \-\-fpu vfpv3" must be added.
I do not know how to continue, I am new to embed platform. I used to work with gcc/make for years...
Thanks for anyone sharing info, Edwin van den Oetelaar
posted by Edwin Oetelaar, van den 23 Mar 2014I found no way to get this working with mbed. I have installed a normal toolchain (gcc+make) and can now run multiple threads (using FreeRTOS) and CMSIS/RTOS. Sorry, but if the Nucleo F401RE is not supported/working I can not use the mbed environment or libraries. Somebody should fix the libraries and Nucleo support.
posted by Edwin Oetelaar, van den 10 Apr 2014