Hello,
I'm beginning a project in uVision 5 with a cortex-m4 µC. I want to use the regular "software packs" provided by the IDE to add the CMSIS functionality which I'm needing for my project.
There is one point which I'm not happy with. This point is that the source code of the CMSIS stuff is directly used from the install folder of KEIL. So I'm wondering if it is possible to automatically copy the packs source code from the install location "C:\..\PACKS\..." to a user defined location inside my project with all the advantages the "software pack manager" provides.
The background is that I use a version management system and would like to archive all sources including the CMSIS stuff.
One way would be to search the files in the install location and copy them by hand into my project, but this wouldn't be very comfortable, so I'm figure there might be a better way to do so?
Thanks in advance!
Hi
All the files which are project specific are automatically copied into the project folder. For ex. RTX_Conf.c etc.
However, the files/libraries/drivers which are generic in nature are being referenced from the install directory of corresponding CMSIS/Middleware folders
I normally prefer to throw in every single source file into the version-controlled project directory tree. And for library files, I prefer to throw in the library files itself. So in the end, it's the compiler + linker that isn't part of the repository.
The compiler+linker would probably also be stored in a repository if it wasn't for the license file making that concept non-working. So the best I can do then is to check in an exact listing of the tool versions - and to install uVision updates into separate directry trees to lock the building of a specific product to a specific compiler version.