|
Re: New C18 3.0+ Compatible FRC Code
The ISR linker issue occurs if encoders_3 and beyond are enabled because...
ENABLE_INT_3_6 must be defined in ifi_frc.h, in order to use encoders in the range 3_6
This causes 'calls' to the ISR routines from ifi_frc.c lines 326 to 338.
But if this code block is enabled, all the interrupt code must exists in encoder.c.
That only happens if ENABLE_ENCODER_3 through ENABLE_ENCODER_6 are ALL defined in encoder.h which compiles in ALL the ISRs in encoder.c.
The define hierarchy needs to be fixed, or use all of 3_6 ISRs or none of them.
Chad
|