[En-Nut-Discussion] Compiling Nut/OS for AT91

Lars Andersson laran at ikp.liu.se
Fri Jan 14 18:21:13 CET 2005


Harald,

I decided to do something creative before the weekend. Just installed the WinARM and it compiled the GBAXport2.conf sucsessfully !! Unfortunatly I don't have any HW to test on :(

However when it comes to the AT91EB40A.conf I ran out of luck :( I get the following error message:

Creating Makefiles for arm-gcc in C:/ethernut/NutAT91EB40a
Creating header files in C:/ethernut/NutAT91EB40a
OK
----- Running 'make clean' -----
----- 'make clean' terminated successfully -----
----- Running 'make all' -----
arm-elf-ar: creating libnutarch.a
arm-elf-ar: creating libnutos.a
In file included from C:/ethernut/nut_arm/dev/irqreg.c:89:
C:/ethernut/nut_arm/dev/arm_irqreg.c:56: warning: `interrupt_handler' attribute directive ignored
C:/ethernut/nut_arm/dev/arm_irqreg.c: In function `SIG_INTERRUPT0':
C:/ethernut/nut_arm/dev/arm_irqreg.c:57: error: `irqHandler' undeclared (first use in this function)
C:/ethernut/nut_arm/dev/arm_irqreg.c:57: error: (Each undeclared identifier is reported only once
C:/ethernut/nut_arm/dev/arm_irqreg.c:57: error: for each function it appears in.)
C:/ethernut/nut_arm/dev/arm_irqreg.c: At top level:
C:/ethernut/nut_arm/dev/arm_irqreg.c:67: warning: `interrupt_handler' attribute directive ignored
C:/ethernut/nut_arm/dev/arm_irqreg.c: In function `SIG_INTERRUPT1':
C:/ethernut/nut_arm/dev/arm_irqreg.c:68: error: `irqHandler' undeclared (first use in this function)
C:/ethernut/nut_arm/dev/arm_irqreg.c: At top level:

Could there be some compability issues for different MCU's. The WinARM is so far only tested on the LPC-P2106.

Have a nice weekend !!
/Lars A Andersson


> -----Original Message-----
> From: en-nut-discussion-bounces at egnite.de
> [mailto:en-nut-discussion-bounces at egnite.de]On Behalf Of Lars 
> Andersson
> Sent: den 14 januari 2005 18:06
> To: Ethernut User Chat (English)
> Subject: RE: [En-Nut-Discussion] Compiling Nut/OS for AT91
> 
> 
> Harald,
> 
> > -----Original Message-----
> > From: en-nut-discussion-bounces at egnite.de
> > [mailto:en-nut-discussion-bounces at egnite.de]On Behalf Of Harald Kipp
> > Sent: den 14 januari 2005 16:02
> > To: Ethernut User Chat (English)
> > Subject: Re: [En-Nut-Discussion] Compiling Nut/OS for AT91
> > 
> > 
> > Hi Lars,
> > 
> > On Windows I used various GCC implementations. At least in the
> > German distribution of the AT91EB40A there is a version from
> > http://www.isystem.com/
> > which worked out of the box. I also used the package from
> > http://www.charmedlabs.com/
> > which comes with the XPort 2.0. Finally there's arm-elf-gcc
> > from cygwin. I'd recommend to install cygwin anyway.
> > There's also
> > http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/#winarm
> > but haven't tried that one.
> 
> I'll try out the WinARM first, it seam like an interesting project
> in the same spirit as WinAVR :)
> 
> 
> /Lars
> 
> > 
> > I looked to the SAM devices too and think, that Atmel made a
> > smart move by offering these chips as replacements for 8-bit
> > controllers. I'm missing the external address/data bus, but
> > still, most interesting.
> > 
> > Harald
> > 
> > 
> > At 23:50 12.01.2005 +0100, you wrote:
> > >Hi All,
> > >
> > >I would like to compile Nut/OS to run on an AT91EB40A 
> > evaluation board. As 
> > >I nuderstand some simple functionality is already working, 
> > like debug 
> > >uart, when using the nutconfigurator. Are there any compiler 
> > sugested to 
> > >be used when doing this? I normally use WinAVR on my windows 
> > system when 
> > >working with my regular ethernut HW.
> > >
> > >The next step will be to start working with the comming 
> > AT91SAM7xx devices 
> > >as soon as I can get my hands on an evaluation kit. Does 
> > anyone else have 
> > >interest in these devices? I beleive these MCUs soon will be 
> > shipped with 
> > >some rather interesting interfaces :-)
> > >
> > >Regards,
> > >Lars A. Andersson
> > 
> > _______________________________________________
> > En-Nut-Discussion mailing list
> > En-Nut-Discussion at egnite.de
> > http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
> > 
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
> 



More information about the En-Nut-Discussion mailing list