|
From: Marcin C. <sa...@sa...> - 2010-08-29 18:44:02
|
On Sun, 29 Aug 2010, Matthias Trute wrote: > There is a simple answer: avra cannot be used. Use the Avr Assembler 2 > from the AVR Studio with wine. Avra did work in the past, but not with > the current code. I cannot tell, which amforth version was the last > one that avra understood, its long ago. > > Hopefully the avra people come up again, but there is a long way to go. > For them. It should work with the patches I have provided. It seems not to be so much work, maybe I should prepare a new release included. Would you consider adding .overlap http://support.atmel.no/knowledgebase/avrstudiohelp/mergedProjects/AVRASM/Html/directives.html#OVERLAP/NOOVERLAP to places where the code generated overlaps: in drivers/usart-isr-tx.asm: .org UDREaddr jmp_ usart_udre_isr in drivers/usart-isr-rx.asm: .org URXCaddr jmp_ usart_rx_isr Alternatively, we can use .ifdef to skip original interrupt handlers where necessary. --Marcin |