[En-Nut-Discussion] problem quick start ICCAVR

Harald Kipp harald.kipp at egnite.de
Sun Apr 13 14:53:57 CEST 2008


Hi Lieven,

lieven.broucke at kahosl.be wrote:

> !E C:/ethernut-4.4.1/nut/arch/avr/dev/ide.c(1177): Register not allocated to variable sreg
~Ð referenced in inline asm. Please simplify function or delete reference in inline asm.make[1]: *** [avr/dev/ide.o] Error 1 
> make: *** [all] Error 2 
> 10:12:30: ----- 'make all' failed with error 2 ----- 

Looks like a specific problem of this compiler version.

You can safely remove ide.c from the build. It's only used with the old 
fat driver. Edit nut/conf/arch/avr.nut and remove

     {
         name = "nutarch_avr_ide",
         brief = "ATA/IDE driver",
         description = "Mass storage driver.",
         requires = { "HW_MCU_AVR" },
         sources = { "avr/dev/ide.c" }
     },

Then reload the conf file and try to build the libraries again.

Harald




More information about the En-Nut-Discussion mailing list