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

**URL:** <https://forums.freertos.org/t/build-problmes-with-freertos-9-0-0-for-arm-cortex-m7-cpu/6445>\
**Category:** Kernel\
**Created:** [February 26, 2017, 7:58pm UTC](https://forums.freertos.org/t/build-problmes-with-freertos-9-0-0-for-arm-cortex-m7-cpu/6445 "2017-02-26T19:58:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 26, 2017, 7:58pm UTC](https://forums.freertos.org/t/build-problmes-with-freertos-9-0-0-for-arm-cortex-m7-cpu/6445/1 "2017-02-26T19:58:51Z")

</div>

**[daveharr](https://sourceforge.net/u/daveharr/)** wrote on [Sunday, February 26, 2017](https://sourceforge.net/p/freertos/discussion/382005/thread/ed417209/#6eb4):

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:\Users\david\AppData\Local\Temp\ccFBDS1S.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:\Users\david\AppData\Local\Temp\ccFBDS1S.s 590

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [February 26, 2017, 9:16pm UTC](https://forums.freertos.org/t/build-problmes-with-freertos-9-0-0-for-arm-cortex-m7-cpu/6445/2 "2017-02-26T21:16:07Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Sunday, February 26, 2017](https://sourceforge.net/p/freertos/discussion/382005/thread/ed417209/#6eb4/d43f):

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.
