PSoC3 Small Memory Model

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

The Keil documentation includes a

   

#pragma small

   

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?

0 Likes
3 Replies