-
Notifications
You must be signed in to change notification settings - Fork 33
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
Handle multiple PDSC entries for a single part in the vendor list #202
Comments
+1. This is problematic for e.g. Both are contained in the cache directory: % cd ~/Library/Application\ Support/cmsis-pack-manager
% grep -rl CY8C6347FMI-BLD53 .
Cypress.PSoC6_DFP.1.2.0.pdsc
Infineon.CAT1A_DFP.1.5.0.pdsc
Infineon.PSoC6_DFP.1.4.0.pdsc
index.json But inside of "from_pack": {
"vendor": "Cypress",
"pack": "PSoC6_DFP",
"version": "1.2.0",
"url": "https://github.com/cypresssemiconductorco/cmsis-packs/raw/master/PSoC6_DFP/"
}, Only half-decent workaround I found was to use the |
I have a problem when using pyOCD with an ATSAMD21G18A chip. The vendor file lists two PDSC entries for that part:
cmsis-pack-manager seems to key its cache purely off the part number (ATSAMD21G18A), so it is unable to handle multiple entries for the same part. There also doesn't seem to be an option to filter out deprecated entries.
It would be nice if the cache key could be augmented with the vendor (and possibly version) in the event that multiple entries are found, so in this instance I would see two possible entries:
This was a problem for me because cmsis-pack-manager happened to find the Keil entry first, and that PDSC appears to be broken. I couldn't find a way to force the Microchip version other than manually hacking the files.
The text was updated successfully, but these errors were encountered: