Hi all,
I just started working on a project which uses the Dialog DA14583 microcontroller. After downloading the SDK I noticed that the whole SDK is build around Keil. Dialog doesn't support the use of CMake or Makefiles so i'm stuck with Keil. After copying one of the exampleprojects to my gitprojects folder I (unsuprisingly) noticed that the project was using relative paths to the SDK. I've tried to find a way to add Dialog's sdk folder to the search path without success.
Obviously I don't want to copy my projectfolder into the SDK's examplefolder and I also don't want to change all paths to the source files.
How is this normally done?
Regards,
Reinier
Hi Andy,Thanks for your reply! I understand your point about keeping the SDK and project closely together. On the other hand, I have to add a lot of unrelated files to my project (which is under versioncontrol). What I can do is add the SDK as a (git) submodule and change the relative paths to point to the submodule's folder.
Another approach:
Would it be possible to use environment variables inside the project's xml file? In this way I can replace all the relative paths with an environment variable pointing to the SDK. Regards,
I have no idea about environment variables inside the project's xml file(s)!