-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sct file not updated in project build directories after upgrading the CMSIS pack #9
Comments
Hi Fred, What is the command line you are using? ~ Joachim |
Hi Fred, CMSIS-Build detects when the configuration file in the pack has a newer version than the local config file. You can double check it in the audit .clog file, there you will see an entry with the detected versions, for example: As @jkrech mentioned, you can call cbuild.sh with the option Best regards |
Hi, sorry for the late reply. We use a command like: I will give a try with the merge and see what happens. Thanks & regards, |
Hi again, the ccmerge is not crystal clear to me. It seems that it is tracking the "configuration files" so files declared like this in the packs (attr="config"): Does it parse all the packs for such files or is it only for DFP packs? I get the point about the Wizard Annotations : I guess it is to track if the user locally changes a default value in his local config file to avoid overwriting it from the pack. Is it correct ? The point I do not get is how this can solve my dependencies issue ? Thanks & Regards, |
Here is what I get with some tries: Makefile variablesCCMERGE:=ccmerge PRJ_FILES:= PKG_FILES:= ==> will the ccmerge check only wizard annotations or will it also detect that my scatter files is new in the pack ? Thanks & Regards, |
Hi, I gave a try with ccmerge but it seems to be restricted to wizard annotations ? CCMERGE - Configuration File Merge Utility V1.0.1 (Dec 7 2020, 01:52:44)
My cfile is always left unchanged, even if I do updates or change the file version in my pfile. Thanks & Regards, Thanks & Regards, |
Hi Fred, You are right this experimental version is dedicated to wizard annotations - note it's a 2-way merge, for files without a well-defined structure this kind of merge would be unsatisfactory. For better results merging any kind of file I believe we would need the ancestor of the modified file to feed a 3-way merge. Thanks |
Hi,
I have a CMSIS Pack providing the device definition for the STM32L562-DK (DFP pack with drivers removed).
This pack contains the definition of the required sct file.
Say that I make a first build with pack v0.0.6.
I get in "\RTE\Device\STM32L562QEIxQ" my sct file with a bug.
I fix the bug in a version 0.0.9 of the CMSIS pack and install this pack.
If I relaunch the CMSIS build system then I am still working with the old sct file.
If I want the new file to be installed in "\RTE\Device\STM32L562QEIxQ", I need to do a manual clean-up (removing the directory).
Can't CMSIS build detect the dependency ? (sct file not up to date with regards to latest CMSIS pack available in the system)
Thanks & Regards,
Fred
The text was updated successfully, but these errors were encountered: