[En-Nut-Discussion] Trunk r4506 build errors

Harald Kipp harald.kipp at egnite.de
Thu Aug 23 19:23:21 CEST 2012


Hi developers,

After upgrading to r4506, I got the following compile problems.

stm32-comStick:

../.././nut/arch/cm3/dev/stm/stm32_can2.c:75:30: error: extra tokens at end of #undef directive [-Werror]
../.././nut/arch/cm3/dev/stm/stm32_can2.c: In function 'Stm32CanHw2Init':
../.././nut/arch/cm3/dev/stm/stm32_can2.c:151:76: error: 'CANBUS_REMAP' undeclared (first use in this function)

stm3210e-eval:

In file included from ../.././nut/arch/cm3/dev/stm/stm32_spi3.c:169:0:
../.././nut/arch/cm3/dev/stm/stm32_spi.c: In function 'Stm32SpiBusSelect':
../.././nut/arch/cm3/dev/stm/stm32_spi.c:150:9: error: 'AFIO_MAPR_SPI3_REMAP' undeclared (first use in this function)

usps_f405g:

../.././nut/arch/cm3/dev/stm/stm32f4_clk.c: In function 'SetSysClock':
../.././nut/arch/cm3/dev/stm/stm32f4_clk.c:382:7: error: missing ')' in expression

evk1100-extram, evk1101, evk1104-extram, evk1104-intram, evk1105-extram, evk1105-intram:

../.././nut/arch/avr32/dev/ih_irq0.c: In function 'Interrupt0Ctl':
../.././nut/arch/avr32/dev/ih_irq0.c:114: error: 'INTERRUPT0_ALT_PIN' undeclared (first use in this function)
../.././nut/arch/avr32/dev/ih_irq0.c:114: error: (Each undeclared identifier is reported only once
../.././nut/arch/avr32/dev/ih_irq0.c:114: error: for each function it appears in.)
../.././nut/arch/avr32/dev/ih_irq0.c:114: error: 'INTERRUPT0_ALT_PINSET' undeclared (first use in this function)

The STM32 errors are new. The AVR32 related problems appeared some time ago.

Regards,

Harald




More information about the En-Nut-Discussion mailing list