Am 08.10.2013 20:57, schrieb Matthias Trute:
>
>> Are this appnotes missing?
> Yes. They are copyrighted by Atmel and thus not part of amforth.
> For the Atmega32 you may have luck with the files from avra, but
> I don't know about their legal status.
>
> Matthias
>

O.K. Now i tried to compile with the correct assembler and appnotes.
The standard makefile runs through now! :-)

But there are much errors for the ATMega32:

@/srv/test/amforth-5.1/appl/template$ make template.hex
wine ../../Atmel/avrasm2.exe -I ../../Atmel/Appnotes -I ../../core -I 
../../core/devices/atmega32 -fI -v0 -e 
template.eep.hex -l template.lst template.asm
err:winedevice:ServiceMain driver L"IOPort" failed to load
../../core\drivers/usart_0.asm(1): error: Undefined symbol: UBRR0L
../../core\drivers/usart_0.asm(2): error: Undefined symbol: UBRR0H
../../core\drivers/usart_0.asm(3): error: Undefined symbol: UCSR0C
../../core\drivers/usart_0.asm(4): error: Undefined symbol: UCSR0B
../../core\drivers/usart_0.asm(5): error: Undefined symbol: UCSR0A
../../core\drivers/usart_0.asm(12): error: Undefined symbol: RXC0
../../core\drivers/usart_0.asm(13): error: Undefined symbol: UDRE0
../../core\drivers/usart_0.asm(14): error: Undefined symbol: TXEN0
../../core\drivers/usart_0.asm(15): error: Undefined symbol: RXEN0
../../core\drivers/usart_0.asm(16): error: Undefined symbol: RXCIE0
../../core\drivers/usart_0.asm(17): error: Undefined symbol: UDRIE0

Assembly failed, 11 errors, 12 warnings
make: *** [template.hex] Fehler 1


Maybe not the correct definition file for the ATMega32?
Where are this symbols defined?

Cheers
Karsten


Am 08.10.2013 20:53, schrieb Matthias Trute:
> Compiling amforth for a particular setup is not simple. For quite a few
> reason (see documentation). The dependency on the Atmel Studio
> Assembler is only one of them. But not an important one. IMHO.
>
> wrt other assemblers I could tell a long story about avra and
> others (e.g. binutils from gnu)... But things are as they are.

Yes - i can understand this.
It was just an idea / opinion.
You can see the problems with the missing files.


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to