I have a project in Dynamic C which has recently started giving me problems. One function, with a very long switch statement gives the compiler error:
Internal Error: Cannog generate code around origin directive follows specifier. Please contact Rabbit
If I remove one of my case statements, the above error goes away. If I add the case statement back in but remove several other case statements, the above error also goes away. I’m wondering if I’m running up against a maximum switch statement limit or maximum function size limit.
The funny thing is, this code used to compile. I was modifying some other areas of the code when I ran into this compiler error. If I compile directly to a .bin file the code compiles correctly??? The error only occurs if I am connected to the rabbit and am downloading through the usb connection.