Build problmes with FreeRTOS 9.0.0 for ARM cortex-m7 CPU.

Posted by daveharr on February 26, 2017

Hello, I am using GCC based build tools, both in Eclipse and VisualGDB, to build for the STM32F7 series, I have set the cpu to cortex-m7 and used the correct STM32F7 port.c/portmacro.h files. In both build enviroments I get the following errors. Can you tell me what is wrong please? Thanks.

Error selected processor does not support vstmdbeq r0!,{s16-s31}' in Thumb mode SFXPC5.0.0-F7-FreeRTOS C:\Users\david\AppData\Local\Temp\ccFBDS1S.s 563 Error instruction not allowed in IT block --stmdb r0!,{r4-r11,r14}' SFXPC5.0.0-F7-FreeRTOS C:UsersdavidAppDataLocalTempccFBDS1S.s 565 Error selected processor does not support vldmiaeq r0!,{s16-s31}' in Thumb mode SFXPC5.0.0-F7-FreeRTOS C:\Users\david\AppData\Local\Temp\ccFBDS1S.s 588 Error instruction not allowed in IT block --msr psp,r0' SFXPC5.0.0-F7-FreeRTOS C:UsersdavidAppDataLocalTempccFBDS1S.s 590


Build problmes with FreeRTOS 9.0.0 for ARM cortex-m7 CPU.

Posted by rtel on February 26, 2017

Basically - the GCC command line would appear to be wrong as it is puking on the floating point instructions. You need to specify the correct architecture and correct FPU on the command line to pass it floating point instructions.