[En-Nut-Discussion] AVR32 build broken

Harald Kipp harald.kipp at egnite.de
Tue Aug 21 19:17:57 CEST 2012


Thiago,

Looks like I finally need your help.

http://ethernut.svn.sourceforge.net/viewvc/ethernut?view=revision&revision=4036

introduces new configuration features,

http://ethernut.svn.sourceforge.net/viewvc/ethernut/trunk/nut/arch/avr32/dev/ih_irq0.c?r1=3621&r2=4036&pathrev=4036

which I think are missing in the board configuration files.

The compiler error is

../.././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)




For evk1100-intram this configuration exists, but it fails with

  avr32-gcc caltime.o -mpart=uc3a0512 -nostartfiles -Wl,-Tuc3a0512_rom.ld,-Map=caltime.map,--cref,--no-warn-mismatch -L../../evk1100-intram-avr32-gcc-bld/lib -Wl,--start-group ../../evk1100-intram-avr32-gcc-bld/lib/nutinit.o -lnutpro -lnutgorp -lnutcrt -lnutos -lnutdev -lnutarch  -Wl,--end-group -o caltime.elf

  ld.exe: cannot open linker script file uc3a0512_rom.ld: No such file or directory

I have the feeling that I've seen this before, but can't remember right now. It may be a problem of my automatic tools.


Regards,

Harald




More information about the En-Nut-Discussion mailing list