[En-Nut-Discussion] stm32_can1.c fails to build
Harald Kipp
harald.kipp at egnite.de
Fri Aug 17 15:40:49 CEST 2012
I got the following problem when trying to build Nut/OS for STM3210C Evalboard:
------------------------------------------------------------------------
Target : stm3210c-eval-cm3-gcc-bld
Command: SET PATH=e:\ethernut\nut-trunk\nut\tools\win32;%ProgramFiles(x86)%\yagarto\bin;e:\apps\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;&make clean all install
Error : 2
------------------------------------------------------------------------
../.././nut/arch/cm3/dev/stm/stm32_can1.c:91:4: error: #error "Illegal CANBUS1_REMAP_CAN value"
../.././nut/arch/cm3/dev/stm/stm32_can1.c: In function 'Stm32CanHw1Init':
../.././nut/arch/cm3/dev/stm/stm32_can1.c:173:22: error: 'CAN1RX_GPIO_PORT' undeclared (first use in this function)
../.././nut/arch/cm3/dev/stm/stm32_can1.c:173:22: note: each undeclared identifier is reported only once for each function it appears in
../.././nut/arch/cm3/dev/stm/stm32_can1.c:173:40: error: 'CAN1RX_GPIO_PIN' undeclared (first use in this function)
../.././nut/arch/cm3/dev/stm/stm32_can1.c:174:22: error: 'CAN1TX_GPIO_PORT' undeclared (first use in this function)
../.././nut/arch/cm3/dev/stm/stm32_can1.c:174:40: error: 'CAN1TX_GPIO_PIN' undeclared (first use in this function)
make[1]: *** [cm3/dev/stm/stm32_can1.o] Error 1
make[1]: Leaving directory `E:/ethernut/ethernut-5.0.5/stm3210c-eval-cm3-gcc-bld/arch'
make: *** [all] Error 2
More information about the En-Nut-Discussion
mailing list