FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [December 2012 Threads]
Hi,
I just got the STM32F4 discovery board and I wanted to try it out. I started with some led blinking and everything was working fine so I tried to compile a FreeRTOS project and I have some errors about not allowed instructions...
I'm using Yagarto with Eclipse on OS X. These are the errors I get :
instruction not allowed in IT block -- `msr psp,r0'
instruction not allowed in IT block -- `stmdb r0!,{r4-r11,r14}'
selected processor does not support Thumb mode `vldmiaeq r0!,{s16-s31}'
selected processor does not support Thumb mode `vstmdbeq r0!,{s16-s31}'
my compiler flags : -c -mthumb -mcpu=cortex-m4
my linker flags : -T "../stm32_flash.ld" -mthumb -mcpu=cortex-m4 -Wl,-Map=linker.map -Wl,-cref -Wl,--gc-sections
my assembler flags : -mthumb -mcpu=cortex-m4 -g -Wa,--warn -x assembler-with-cpp
Does anyone have an idea to get rid of these errors?
These would be a typical set of options (assuming FPU is present and being used) for a new ARM GCC build. I don't know which version Yagarto uses
-c -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -std=gnu90 -O0 -ffunction-sections -fdata-sections -g -Wall
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.