[En-Nut-Discussion] stm32_vl_discovery build fails

Harald Kipp harald.kipp at egnite.de
Thu Sep 12 14:05:48 CEST 2013


Hi,

When trying to build stm32-comStick-cm3-gcc-bld.conf from trunk, make
all terminates with

arm-none-eabi-gcc -c -I../../stm32_vl_discovery-cm3-gcc-bld/include
-I../.././nut/include  -DSTM32F10X_MD_VL  -MD -MP -mcpu=cortex-m3
-mthumb -mlittle-endian -D__CORTEX__  -ffunction-sections
-fdata-sections -fomit-frame-pointer -mfix-cortex-m3-ldrd -Os -Wall
-Wstrict-prototypes -Werror -Wa,-a=cm3/dev/stm/stm32_timer.lst  -o
cm3/dev/stm/stm32_timer.o ../.././nut/arch/cm3/dev/stm/stm32_timer.c
../.././nut/arch/cm3/dev/stm/stm32_timer.c:80:33: error:
'RCC_APB1ENR_TIM5EN' undeclared here (not in a function)
../.././nut/arch/cm3/dev/stm/stm32_timer.c:80:48: error:
'RCC_APB1RSTR_TIM5RST' undeclared here (not in a function)
make[1]: *** [cm3/dev/stm/stm32_timer.o] Error 1
make[1]: Leaving directory
`E:/ethernut/ethernut-5.2.0/stm32_vl_discovery-cm3-gcc-bld/arch'
make: *** [all] Error 2

Anybody able to fix this?

Regards,

Harald



More information about the En-Nut-Discussion mailing list