[En-Nut-Discussion] STM32 build partially fails in trunk

Harald Kipp harald.kipp at egnite.de
Tue Dec 10 12:30:57 CET 2013


------------------------------------------------------------------------
Target : stm3210e-eval-cm3-gcc-bld
Error  : 2
------------------------------------------------------------------------
../.././nut/arch/cm3/dev/stm/ih_stm32.c:229:1: error: 'TIM14_IRQn'
undeclared (first use in this function)
../.././nut/arch/cm3/dev/stm/ih_stm32.c:229:1: error: control reaches
end of non-void function [-Werror=return-type]
../.././nut/arch/cm3/dev/stm/ih_stm32.c: In function 'TIM13IrqCtl':
../.././nut/arch/cm3/dev/stm/ih_stm32.c:226:1: error: control reaches
end of non-void function [-Werror=return-type]
../.././nut/arch/cm3/dev/stm/ih_stm32.c: In function 'TIM12IrqCtl':
../.././nut/arch/cm3/dev/stm/ih_stm32.c:223:1: error: control reaches
end of non-void function [-Werror=return-type]
cc1.exe: all warnings being treated as errors
make[1]: *** [cm3/dev/stm/ih_stm32.o] Error 1
make[1]: Leaving directory
`/ethernut/ethernut-5.2.2/stm3210e-eval-cm3-gcc-bld/arch'
make: *** [all] Error 2


------------------------------------------------------------------------
Target : stm3210e-eval-cm3-gccdbg-bld
Error  : 2
------------------------------------------------------------------------
../.././nut/arch/cm3/dev/stm/ih_stm32.c:229:1: error: 'TIM14_IRQn'
undeclared (first use in this function)
../.././nut/arch/cm3/dev/stm/ih_stm32.c:229:1: error: control reaches
end of non-void function [-Werror=return-type]
../.././nut/arch/cm3/dev/stm/ih_stm32.c: In function 'TIM13IrqCtl':
../.././nut/arch/cm3/dev/stm/ih_stm32.c:226:1: error: control reaches
end of non-void function [-Werror=return-type]
../.././nut/arch/cm3/dev/stm/ih_stm32.c: In function 'TIM12IrqCtl':
../.././nut/arch/cm3/dev/stm/ih_stm32.c:223:1: error: control reaches
end of non-void function [-Werror=return-type]
cc1.exe: all warnings being treated as errors
make[1]: *** [cm3/dev/stm/ih_stm32.o] Error 1
make[1]: Leaving directory
`/ethernut/ethernut-5.2.2/stm3210e-eval-cm3-gccdbg-bld/arch'
make: *** [all] Error 2


More information about the En-Nut-Discussion mailing list