Error: selected FPU does not support instruction -- `vstmdbeq r0!,{s16-s31}'

Hi there,
I’m a beginner of FreeRTOS.
I tried to setup FreeRTOS in ElipseIDE on MacOS, but get the error:

/var/folders/sf/xq24qhg94mvdr757gpyj945m0000gn/T//cc8xxov5.s:556: Error: selected FPU does not support instruction – vstmdbeq r0!,{s16-s31}' /var/folders/sf/xq24qhg94mvdr757gpyj945m0000gn/T//cc8xxov5.s:578: Error: selected FPU does not support instruction -- vldmiaeq r0!,{s16-s31}’

STM32F4-Discovery is the broad i use.
How can i fix the problem?
Thanks

Seems that the compiler flags are wrong (for whatever reason)
Which compiler do you use ?
This should be the right GCC flags for your MCU: -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 in case you want to use the FPU at all.

@hs2
Thanks for your help.
GNU Arm Cross C Compiler is my compiler.
How can i config GCC flags in Eclipes?

Sorry Leo - no idea… I don’t use Eclipse. But I’m sure there is a help or something in the net. Good luck !

@hs2
I found out where to set flags.
But, i got another error
arm-none-eabi-g++: error: -mfloat-abi=soft and -mfloat-abi=hard may not be used together

Yes, the two contradict each other, remove the “soft” option.