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 one question. In my project I have to use my own library include files. So I don't want the compiler to search these files in default path (includes in keil installation directory). In the C/C++ tab in my project properties I have these lines (compiler control string):
-c --device DLM -g -O0 --apcs=interwork --asm --interleave -I.\inc -I..\cmm\inc -I..\cmm\lib -I..\cmm\src -I "C:\Program Files\Keil\ARM\INC" -I "C:\Program Files\Keil\ARM\INC\Luminary" -o ".\Obj\*.o" --omf_browse ".\Obj\*.crf" --depend ".\Obj\*.d"
and I just want to remove instruction that are in bold. Can you help me? Thanks a lot
Regards,
Ludovic
Hi Ludovic,
uv4 uses the device database to automatically add the proper configuration for the chosen micro. And it does that also for the include path.
The only way I found to remove unwanted configurations is to simply chose another device in the menu: Project / Options for Target / Device.
You may want to choose ARM / Cortex M3.
However be careful: every setting will change and you have to fill again the values by hand.
Having say that, what Tamir suggests makes your project work fine even if you still see the annoying directory.
Regards, Marco.
Maybe directly editing the project files can help...?