Hello! I just found myself in deep trouble with uVision V4.23 project configuration. I have written a library for STM32 uC and I need to have it shared across some projects (Keil and/or non-Keil) to keep it consistent/unique. That's why it should be placed outside a project directory (in the upper directory).
The problem is that when I configure relative Include paths in the "Options for Target" config window (and the selection is even done by clicking the triple-dot button), Keil ignores all of these paths (e.g. it looks into it's default paths for Standard Peripherals Library files and it does not see my header files at all...).
Does anybody how to solve this issue? Any response will be gladly appreciated! ,)
if you created a project from a board definition then it places additional text in the .uvproj file which directs it to search the headers in the default location in the Keil directories.
This can be fixed by editing the .uvproj file in a text editor and removing these lines.
I can't remember the lines since I always delete them, but simply open in a text editor and search for Keil, there are usually just 3 occurrences so it's obvious which to delete.
regards
Phil.