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

Marcin Trendota moonwolf.ethernut at gmail.com
Wed Dec 11 11:13:30 CET 2013


Dnia wtorek, 10 grudnia 2013 12:30:57 PM Harald Kipp writes:
> ---------------------------------------------------------------------
> --- 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

I have similar issue (for STM32F HD):

11:09:19: 
/home/moonwolf/Dokumenty/projects/ethernut/nut/arch/cm3/dev/stm/ih_stm32.c: 
In function 'TIM12IrqCtl':
/home/moonwolf/Dokumenty/projects/ethernut/nut/arch/cm3/dev/stm/ih_stm32.c:223:1: 
error: 'TIM12_IRQn' undeclared (first use in this function)
/home/moonwolf/Dokumenty/projects/ethernut/nut/arch/cm3/dev/stm/ih_stm32.c:223:1: 
note: each undeclared identifier is reported only once for each 
function it appears in
11:09:19: 
/home/moonwolf/Dokumenty/projects/ethernut/nut/arch/cm3/dev/stm/ih_stm32.c: 
In function 'TIM13IrqCtl':
/home/moonwolf/Dokumenty/projects/ethernut/nut/arch/cm3/dev/stm/ih_stm32.c:226:1: 
error: 'TIM13_IRQn' undeclared (first use in this function)
/home/moonwolf/Dokumenty/projects/ethernut/nut/arch/cm3/dev/stm/ih_stm32.c: 
In function 'TIM14IrqCtl':
/home/moonwolf/Dokumenty/projects/ethernut/nut/arch/cm3/dev/stm/ih_stm32.c:229:1: 
error: 'TIM14_IRQn' undeclared (first use in this function)
/home/moonwolf/Dokumenty/projects/ethernut/nut/arch/cm3/dev/stm/ih_stm32.c:229:1: 
error: control reaches end of non-void function [-Werror=return-type]
/home/moonwolf/Dokumenty/projects/ethernut/nut/arch/cm3/dev/stm/ih_stm32.c: 
In function 'TIM13IrqCtl':
/home/moonwolf/Dokumenty/projects/ethernut/nut/arch/cm3/dev/stm/ih_stm32.c:226:1: 
error: control reaches end of non-void function [-Werror=return-type]
/home/moonwolf/Dokumenty/projects/ethernut/nut/arch/cm3/dev/stm/ih_stm32.c: 
In function 'TIM12IrqCtl':
/home/moonwolf/Dokumenty/projects/ethernut/nut/arch/cm3/dev/stm/ih_stm32.c:223:1: 
error: control reaches end of non-void function [-Werror=return-type]

-- 
Best regards
Marcin Trendota



More information about the En-Nut-Discussion mailing list