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.
Hello,
I have a problem with #pragma SRC directive. First, when I write it at the begining of my C file the compiler (CARM) writes:
MAIN.C(1): warning C2: 'SRC': unknown #pragma/control, line ignored
Then I removed this line and right-clicked main.c in project window and under Options I checked Generate Assembler SRC file and I got this message:
Build target 'MCB2140' compiling main.c... linking... *** WARNING L23: UNRESOLVED EXTERNAL SYMBOLS *** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: ?C?INIT ADDRESS: 00000104H Program Size: data=1168 const=16 code=296 Target not created
This is strange because I have main routine in my main.c file. Can anyone help me?
Best regards,
Borut