DT_INTS in not part of the device configuration.
Don't put #CONFIG/#ENDCONFIG around them. Put it back to ASM/ENDASM.
And watch the indentation. ASM is sensitive to that.
DT_INTS in not part of the device configuration.
Don't put #CONFIG/#ENDCONFIG around them. Put it back to ASM/ENDASM.
And watch the indentation. ASM is sensitive to that.
DT
Thanks Darrel!
I knew I'd done something stupid and that was it!
Welll... part of it.
It did indeed get rid of those errors, but it brought up some fresh ones.
I'm clearly still not getting it right. (I seem to have lost the "embarrassed" smilie, but consider it Inserted Here.)
Here's the code again:
Thanks muchCode:ASM INT_LIST macro ; IntSource, Label, Type, ResetFlag? INT_Handler TMR1GATE_INT, _CheckCount, PBP, yes endm INT_CREATE ; Creates the interrupt processor ENDASM @ INT_ENABLE TMR1GE ; enable Timer 2 interrupts
I'm sorry Darrel, I'm getting to where I can't even cut & paste the right code anymore.
I think I need to step away from the keyboard and go make some cookies or something instead.
THIS gives the errors shown in my last post.
Code:'-----Set up Interrrupts ASM INT_LIST macro ; IntSource, Label, Type, ResetFlag? INT_Handler TMR1GATE_INT, _CheckCount, PBP, yes endm INT_CREATE ; Creates the interrupt process ENDASM @ INT_ENABLE TMR1GATE_INT ; enable Timer 1 interrupts
Sorry, since you said the 2.60 code worked, I just copied from that post.
But actually, it's ... T1GATE_INT
DT
Hi Darrel,
Thanks for your help. I'm sorry I haven't followed through with this yet.
I discovered wet carpet in a spare bedroom and traced it back to a leak in the bathroom.
Rotten floor, ruined carpet, damaged wall, the whole works.
Major repairs underway and I don't know when I'll have time for PIC games again...
But I *really* appreciate all your help and I hope you and your family are having the best thanksgiving ever this year!
Steve
Bookmarks