Yep, I found a "@ INT_DISABLE INT_INT" in a function in one of my include files (that I don't even use currently). After commenting it out, it compiled fine.
I'm trying to switch from an 18F25K20 to an 18F26K40, and I'm getting a compiler error (PBPX 3.1.6.4) specific to the timer interrupt definition. I'm using the interrupt include file...
Common Development and Distribution License (CDDL) is a free software license, produced by Sun Microsystems, based on the Mozilla Public License (MPL), version 1.1.
Competitions are subject to the privacy policy and website terms and conditions of picbasic.co.uk, owned and controlled by Crownhill Associates Limited (“Crownhill”).
The following rules shall apply, together with any instructions or rules specific to any current competition. By entering any of the community run competitions, you are deemed to have accepted the following:
...
Re: DT interrupt problem / K40 - "Priority State Not Found"
Yep, I found a "@ INT_DISABLE INT_INT" in a function in one of my include files (that I don't even use currently). After commenting it out, it compiled fine.
achilles03 - 23rd April 2026, 17:56Thanks!
Dave