Skip to content
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

Install CMSIS Pack from local .pack file? #588

Open
deividAlfa opened this issue Sep 3, 2023 · 4 comments
Open

Install CMSIS Pack from local .pack file? #588

deividAlfa opened this issue Sep 3, 2023 · 4 comments

Comments

@deividAlfa
Copy link

Eclipse version: 2023-06 (4.28.0)
CDT plugin version: 6.4.0
OS: Windows 11 x64

Some vendors (Puya, HSXP) provide plain .pack files, but CMSIS-Pack manager depends on the Keil repo to download the packs.
So far, it seem to be impossible to manually install a .pack file. Is it possible somehow?
I have only found #61 and it was never anwered.

@TommyMurphyTM1234
Copy link

Did you try the approach that I sketched out here?

@ilg-ul
Copy link
Contributor

ilg-ul commented Sep 3, 2023

CMSIS-Pack manager depends on the Keil repo to download the packs.

Negative. The CMSIS-Pack manager can use multiple repos to download packs.

Just create a conforming index and add it to the CMSIS-Pack manager configuration.

it seem to be impossible to manually install a .pack file

I did not check recently, but the initial CMSIS specs did not define such a use case, so packs can be installed only via an index file.

I did not check, but it might be possible to place the index locally and pass a uri like file://....

But what do you need the CMSIS-Packs for? Apart from the documentation, the plug-ins do not use the .pdsc definitions at all.

For the SVDs, you can directly refer them from the debug plug-ins, you do not need the entire package for this.

@deividAlfa
Copy link
Author

Basically I'd like to have them in the device selection?
Of course, SVD for debugging...

@ilg-ul
Copy link
Contributor

ilg-ul commented Sep 4, 2023

have them in the device selection

Yes, this was a nice feature, and initially it made sense assuming the .pdsc files can be used for other purposes too.

But later it proved less suitable, and instead of managing the huge CMSIS packages (some take hundreds of MBs), it looked simpler to just copy the .svd files into the projects and pass them to the debugger directly.

Also the permanent timeouts of the servers hosting the packages and the out-of-sync Keil index were some negative factors that contributed to the CMSIS Packs plug-ins to be no longer actively developed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants