From: Marcin C. <sa...@sa...> - 2011-06-10 18:32:48
|
>> Erich Waelde <ew....@na...> wrote: > 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. Thank you, this helps a lot. I will try to fix this problem in avra. //Marcin |