ARM-software / vscode-cmsis-csolution

Extension support for VS Code CMSIS Project Extension
https://marketplace.visualstudio.com/items?itemName=Arm.cmsis-csolution
Other
23 stars 5 forks source link

Packs that are downloaded require restart of VSCode to become available in Software Components view #77

Open ReinhardKeil opened 1 week ago

ReinhardKeil commented 1 week ago

Packs that are downloaded using cbuild with --pack option require restart of VSCode to become available in Software Components view.

Steps to Reproduce

Install on a new computer and download a BSP, i.e. from https://www.keil.arm.com/packs/ensemble-alifsemiconductor/boards/ using cpackget.

New packs are getting downloaded, i.e. CMSIS 5.9 (as the example has a hard dependency). But the Software Components view does not show new components (as there is no pack reload triggered in the IDE). It requires a restart of VS Code to see the new packs.

Note: this specific example has other issues as it was not distributed as a reproducible build.

Expected behavior A download of new packs should trigger a pack reload in the IDE (similar to uVision).

Environment:

jkrech commented 1 week ago

Agreed. Instead of restarting VSCode you could use the "Refresh" from the CMSIS View ... menu. This is triggering a reload of pdsc files in the cmsis-core-tools however only if a csolution project is currently loaded.