The Keil documentation includes a
directive to allow small model code to be generated on a function or file scope. If I put the directive in the file I get the following error:
ERROR: :#pragma SMALL: PARSING INVOKE-/#PRAGMA-LINE RESPECIFIED OR CONFLICTING CONTROL
since the PSoC Creator command line has the LARGE directive. Is there any way to remove the LARGE directive from the command line?
may be I am on the wrong track here but doesn't PSoC 3 use a memory model to address the SFRs that would not work with the small memory model of Keil? The default to LARGE has probably a good reason other than creating LARGEr code.