We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
C51 v6.03+; uVision v2.07+ I want to build a Project with some files using the SMALL model, but most using LARGE. If I select LARGE in the Target options, and specify SMALL in the C51 'Misc Controls' where required, or use a #pragma in the file itself, I get a fatal Compiler error:
RESPECIFIED OR CONFLICTING CONTROL
L14: INCOMPATIBLE MEMORY MODEL
So if I don't use any (Keil) Library functions, or if I'm careful to make sure they're all the same model, I should be OK? Yep, but I haven't tested this. Is it possible to specify explicitly which Library the Linker should use? If I had: #pragma LARGE : int my_func (int a, int b, int c) small would that call 'large' model libraries? Yep. Jon