From: Andy K. <an...@ki...> - 2010-08-27 16:21:30
|
Looks similar to some of the initial errors that ere weeded out with the arduino boards. Basicaly mismatched naming of constants form for uart reg's and bit fields. Will have a look when i get to it. I seem to recal it meant adding numbers to uart defs and a minor rename. Avoid altering the main sources. Only the device/build headers. Cheers andy kirby. -- Like a rolling stone ----- Original message ----- > FYI - result of the compilation for 1284p (avr studio 4.18), device > from trunk: > > AVRASM: AVR macro assembler 2.1.42 (build 1796 Sep 15 2009 10:48:36) > Copyright (C) 1995-2009 ATMEL Corporation > > ... > C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm(2): > warning: Use of undefined or forward referenced symbol 'UBRRL0' in > .equ/.set > C:\MyCode\AVR\WINAVR\projects\AMFORTH\appl\amforth1284p\template.asm(20): > info: 'C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm' > included from here > C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm(3): > warning: Use of undefined or forward referenced symbol 'UBRRH0' in > .equ/.set > C:\MyCode\AVR\WINAVR\projects\AMFORTH\appl\amforth1284p\template.asm(20): > info: 'C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm' > included from here > C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm(4): > warning: Use of undefined or forward referenced symbol 'UCSRC' in > .equ/.set > C:\MyCode\AVR\WINAVR\projects\AMFORTH\appl\amforth1284p\template.asm(20): > info: 'C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm' > included from here > C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm(5): > warning: Use of undefined or forward referenced symbol 'UCSRB' in > .equ/.set > C:\MyCode\AVR\WINAVR\projects\AMFORTH\appl\amforth1284p\template.asm(20): > info: 'C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm' > included from here > C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm(6): > warning: Use of undefined or forward referenced symbol 'UCSRA' in > .equ/.set > C:\MyCode\AVR\WINAVR\projects\AMFORTH\appl\amforth1284p\template.asm(20): > info: 'C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm' > included from here > C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm(7): > warning: Use of undefined or forward referenced symbol 'UDR' in > .equ/.set > C:\MyCode\AVR\WINAVR\projects\AMFORTH\appl\amforth1284p\template.asm(20): > info: 'C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm' > included from here > C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm(8): > warning: Use of undefined or forward referenced symbol 'RXC' in > .equ/.set > C:\MyCode\AVR\WINAVR\projects\AMFORTH\appl\amforth1284p\template.asm(20): > info: 'C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm' > included from here > C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart.asm(9): > warning: Use of undefined or forward referenced symbol 'UDRE' in > .equ/.set > ... > C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\drivers/usart-isr-rx.asm(4): > error: Use of undefined or forward referenced symbol 'URXCaddr' in > .org > C:\MyCode\AVR\WINAVR\projects\AMFORTH\core\devices/atmega1284p/device.asm(13): > error: Overlap in .cseg: addr=0x1 conflicts with 0x0:0x2 > .... > Assembly failed, 2 errors, 8 warnings > > > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue > and speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel |