I get the error CONF_TNY.A51(1): error A43: RESPECIFIED PRIMARY CONTROL for the 1st line the file which is $DEBUGPUBLICS TIA Andy
Nevermind. I was using the older version. However, I do have another question. How do you get rid of all the "MULTIPLE CALL TO FUNCTION" warnings? I'm using co-op scheduling and all the functions in the warning will not be called at the same time. Is there a way to do it?
The LX51 Misc tab in uVision has a "Disable Warning Numbers" widget. It corresponds to the DISABLEWARNING directive. Of course, turning off the warning will also eliminate all the desirable occurrences of the warning (if any). A better, but more time-consuming, answer is to use the OVERLAY directive to correct the call tree so that the linker understands that these routines are not not actually potentially called from different contexts. If you're doing co-op scheduling, then your program is really one big tree from the top level scheduler. Getting the overlays right will also reduce memory use for variables on the stack. Unfortunately, this is pretty much a manual process of examining the map file for the call tree and moving procedure calls. On the bright side, you should just have to move your top-level task body functions to the right place, and there shouldn't be too many of those.
Thanks. That's what I thought I needed to do too. TIA Andy
View all questions in Keil forum