Hi Marcin,

On 06/10/2011 10:59 AM, Marcin Cieslak wrote:
> When compiling r1076 with avra:
>
> [exec] /usr/home/saper/sw/amforth/trunk/core/words/usart-rx-isr.asm(12) :\
 >    Error   : Found no label/variable/constant named XT_RXQ

confirmed with r1077.

There is no error, when using AvrAssembler2.

XT_RXQ is a "variable", which is set to either XT_RXQ_ISR or XT_RXQ_POLL.
The setting takes place in trunk/core/dict_usart.inc and depends
on template.asm:
.set WANT_ISR_RX = 1 ; interrupt driven receive

Interestingly, when setting WANT_ISR_RX = 0,
the error goes away, and XT_RXQ is set correctly to XT_RXQ_POLL.

So this looks like avra did somehow ignore setting
XT_RXQ to XT_RXQ_ISR in the first case, from what I can see.


Hope this helps.
Erich

------------------------------------------------------------------------------
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

Reply via email to