avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] EEPROM library functions do not build for Xmega


From: Joerg Wunsch
Subject: [avr-libc-dev] EEPROM library functions do not build for Xmega
Date: Thu, 25 Jun 2009 21:29:41 +0200
User-agent: Mutt/1.5.11

gmake[1]: Entering directory `/home/joerg/src/avr-libc/avr/lib/avrxmega4'
avr-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../common -I../../../include 
-I../../../include -g -Wall -W -Wstrict-prototypes -D__COMPILING_AVR_LIBC__ -Os 
-fno-jump-tables -x assembler-with-cpp -Wa,-gstabs -D__COMPILING_AVR_LIBC__ -c 
-o eerd_block_atxmega64a3.o    \
            -mmcu=atxmega64a3           \
            ../../../libc/misc/eerd_block.S
../../../libc/misc/eerd_block.S: Assembler messages:
../../../libc/misc/eerd_block.S:80: Error: constant value required
../../../libc/misc/eerd_block.S:80: Error: register number above 15 required
gmake[1]: *** [eerd_block_atxmega64a3.o] Error 1

The respective code after preprocessing is:

  ; Correct EEPROM address to read from data space.
 subi r22, lo8(-(0x1000))
 sbci eepr_hi, hi8(-(0x1000))

So somehow, that "eepr_hi" should look different, I guess.

This is broken in both, HEAD as well as the 1.6 branch.

(I'm currently working on something different, so I cannot track
down.)
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]