[Amforth] amforth 4.4 & ATMEGA16.txt

2011-06-16 Thread paolo.ga...@fastwebnet.it
Hi guys,
I’m trying to compile a system for an ATMEGA16 board.
It gives errors and I’m not able to go forth.
 
I followed the procedure suggested in official docs:
copy the template folder in apps to a new folder “atmega16” and then modify 
makefile and template.asm.
Attached you’ll find my makefile and my modified template “atmega16.asm”.
 
In the makefile, the line:
AVRASM=wine $(DIR_ATMEL)/avrasm2.exe -I $(DIR_ATMEL)/Appnotes2
Produces the error:
make (e=2): file not found.
make: *** [atmega16.hex] Error 2
 
instead the line:
AVRASM=$(DIR_ATMEL)/avrasm2.exe -I $(DIR_ATMEL)/Appnotes2
(without wine) launches avrasm2 (AVR Studio 4.18 SP3) that gives 1 error and 11 
warnings.
Here the listing of errors:
 
atmega16.asm(26): warning: Use of undefined or forward referenced symbol 
'TXEN0' in .equ/.set
atmega16.asm(29): warning: Use of undefined or forward referenced symbol 
'TXEN0' in .equ/.set
atmega16.asm(34): warning: Use of undefined or forward referenced symbol 
'UCSZ00' in .equ/.set
../../core\drivers/usart_0.asm(1): warning: Use of undefined or forward 
referenced symbol 'UBRR0L' in .equ/.set
../../core\drivers/usart_0.asm(2): warning: Use of undefined or forward 
referenced symbol 'UBRR0H' in .equ/.set
../../core\drivers/usart_0.asm(3): warning: Use of undefined or forward 
referenced symbol 'UCSR0C' in .equ/.set
../../core\drivers/usart_0.asm(4): warning: Use of undefined or forward 
referenced symbol 'UCSR0B' in .equ/.set
../../core\drivers/usart_0.asm(5): warning: Use of undefined or forward 
referenced symbol 'UCSR0A' in .equ/.set
../../core\drivers/usart_0.asm(11): warning: Use of undefined or forward 
referenced symbol 'UDRIE0' in .equ/.set
../../core\drivers/usart_0.asm(11): error: Invalid redefinition of 'UDRIE'
../../core\drivers/usart_0.asm(12): warning: Use of undefined or forward 
referenced symbol 'RXC0' in .equ/.set
../../core\drivers/usart_0.asm(13): warning: Use of undefined or forward 
referenced symbol 'UDRE0' in .equ/.set
 
Assembly failed, 1 errors, 11 warnings
make: *** [atmega16.hex] Error 1
 
I think you can reproduce yourself the error.
 
Please help me.
Thank you.



--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Amforth-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amforth-devel


[Amforth] amforth 4.5 and ATmega128

2011-07-26 Thread paolo.ga...@fastwebnet.it
Hello guys,
I'm trying to build amforth for an ATmega128.
It won't compile, searching for a definition of MCUSR.
Attached you'll find the folder content I'm using (a standard template).
amforth ver. 4.5
AVR Studio 4 (latest build)

Any help is greatly appreciated.
Thank you

--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
Amforth-devel mailing list for http://amforth.sf.net/
[email protected]
https://lists.sourceforge.net/lists/listinfo/amforth-devel