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

Add "Update RTE config files" to IDE #78

Open ReinhardKeil opened 3 weeks ago

ReinhardKeil commented 3 weeks ago

In v1.40 the behavior of the IDE changed, as cbuild with option --update-rte is only used when csolution project files are modified. This change ensures that files are modified when a project is just viewed (and IMHO correct behavior).

Unfortunately many examples do not ship with the RTE directory content as recommended under reproduceable builds. The consequence is that the tool reports that the option --update-rte should be used, but in the IDE there is no easy way to apply it.

Proposal Add a command "Update RTE config files" to this menu: image

It should call cbuild setup with option --update-rte in the same way as when project files are modified.

jkrech commented 3 weeks ago

Note: "Refresh" probably should be named "Reload", but this command is a manual trigger for: a) cmsis-core-tools re-read of pdsc files - e.g. after installing new packs b) cbuild setup ... --context-set --update-rte [--packs] Is it worth having a separate command to just run b) independently?

ReinhardKeil commented 3 weeks ago

I like that. We could name it "Reload packs and update RTE"