[En-Nut-Discussion] NutOs5.1 on STM32 controllers

Harald Kipp harald.kipp at egnite.de
Mon Sep 16 12:34:58 CEST 2013


Hi Holger,

On 16.09.2013 11:27, Holger Mai, GEMAC wrote:

> arm-none-eabi-gcc -c -I../../nutbld/include  -I../../nut/include  -DUSPS -DSTM32F10X_CL
> -MD -MP -mcpu=cortex-m3 -mthumb-interwork -Os -Wall -Wstrict-prototypes -Werror
> -Wa,-a=cm3/os/context.lst  -o cm3/os/context.o ../../nut/arch/cm3/os/context.c
> ../../nut/arch/cm3/cmsis/cortex_init.c:1:0: error: target CPU does not support ARM mode
> ../../nut/arch/cm3/cmsis/core_cm3.c:1:0: error: target CPU does not support ARM mode
> make[1]: *** [cm3/cmsis/cortex_init.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** [cm3/cmsis/core_cm3.o] Error 1
> ../../nut/arch/cm3/os/context.c:1:0: error: target CPU does not support ARM mode
> make[1]: *** [cm3/os/context.o] Error 1
> make[1]: Leaving directory `D:/ethernut-5.1/nutbld/arch'
> Makefile:4: recipe for target 'all' failed
> make: *** [all] Error 2
> 10:57:16: Build failed

Looks to me that you didn't configure the right Platform cm3-gcc in the
Configurator, see

Edit -> Settings -> Build -> Platform

Regards,

Harald



More information about the En-Nut-Discussion mailing list