ARM-software / vscode-cmsis-csolution

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

"Manage Software Component" view doesn't support packs with `path:` from `*.csolution.yml` #35

Open LMESTM opened 1 year ago

LMESTM commented 1 year ago

If a csolution project is using a local pack version (with path: ) then the PACK may not be installed in CMSIS PACK ROOT, nevertheless it is available, so I think it would be great if the "Software components" view could consider local packs as well (not only packs cache) when building the list of available components.

example.csolution.yml

  packs:
    - pack: MyVendor::MyLocalPack
      path: ./MyPacks/MyLocalPack

image

mcgordonite commented 1 year ago

Hi @LMESTM, use of local packs is currently supported if you run cpackget add path/to/pack, then reload VS Code. We've got supporting the path field on the roadmap for the csolution extension.

jkrech commented 3 weeks ago

While CMSIS-Toolbox reflects packs specified in csolution.yml with path: the CMSIS-Core-Tools, the backend for the component view is not yet considering these packs.