[En-Nut-Discussion] stm3210e-eval build fails

Harald Kipp harald.kipp at egnite.de
Thu Sep 12 14:10:18 CEST 2013


Hi again,

Possibly I'm missing something generally. But right now it looks like
independent failures to me, so I create an individual thread for each.

Building stm3210e-eval-cm3-gcc-bld.conf fails with

arm-none-eabi-gcc -c -I../../stm3210e-eval-cm3-gcc-bld/include
-I../.././nut/include  -DSTM3210E_EVAL -DSTM32F10X_XL  -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:81:33: error:
'RCC_APB1ENR_TIM6EN' undeclared here (not in a function)
../.././nut/arch/cm3/dev/stm/stm32_timer.c:90:33: error:
'RCC_APB1ENR_TIM7EN' 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/stm3210e-eval-cm3-gcc-bld/arch'
make: *** [all] Error 2

Regards,

Harald




More information about the En-Nut-Discussion mailing list