[En-Nut-Discussion] Erros in building OS on AT91SAM7X512

Mingshu Wang mwang at ccontrols.com
Mon Jul 25 19:45:21 CEST 2011


 
Hi all,

I got errors when building Nut/OS on AT91SAM7X512 with Nut/OS 4.8.9
configurator and Yagarto 4.4.1. I used AT91SAM7X256 before but didn't
have any problem.

I use at91sam7x-ek.conf and only change the following two settings for
the 512 chip. Other settings are default.

GCC Settings: ARM Linker Scripts: at91sam7x512_rom
Target CPU: Atmel AT91SAM7X512

Errors:
12:38:20: ----- Running 'make all' -----
12:38:20: Located C:\ethernut-4.8.9\nut\tools\win32\make.exe
In file included from ../../nut/include/dev/irqreg.h:160,
                 from ../../nut/arch/arm/dev/ostimer_at91.c:142:
../../nut/include/arch/arm/irqreg.h:256:2: error: #warning "No MCU
defined"
cc1.exe: warnings being treated as errors
../../nut/arch/arm/dev/ostimer_at91.c: In function 'NutRegisterTimer':
../../nut/arch/arm/dev/ostimer_at91.c:186: error: implicit declaration
of function 'NutRegisterSysIrqHandler'
../../nut/arch/arm/dev/ostimer_at91.c:186: error: 'syssig_PIT'
undeclared (first use in this function)
../../nut/arch/arm/dev/ostimer_at91.c:186: error: (Each undeclared
identifier is reported only once
../../nut/arch/arm/dev/ostimer_at91.c:186: error: for each function it
appears in.)
../../nut/arch/arm/dev/ostimer_at91.c:189: error: implicit declaration
of function 'NutSysIrqEnable'
make[1]: *** [arm/dev/ostimer_at91.o] Error 1
make: *** [all] Error 2
12:38:23: ----- 'make all' failed with error 2 -----

Can anyone help me with this problem?

Thanks,
Mingshu


More information about the En-Nut-Discussion mailing list