You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the command line (bash), CMSIS does not have a simple means of creating applications from a vendor's set of examples. In uVision and Keil Studio the installed packs are scoured for examples and the user can browse them, choose one, and ask the tool to create a project for it. On the command line, however, the user has to find the examples and manually copy the contents from a github repo, the CMSIS_PACK_ROOT folder, or elsewhere. It's not the most robust situation because it entails manually pulling parts from the vendor's folder structure, and presupposes some user knowledge of where to look.
I think the csolution program, which already has commands like list packs and list boards, could be extended to list examples. This would at least tell the user where to find "blinky".
Adding to that, it would be fantastic if csolution (or some other program) could be used to make a copy of the example by specifying the source pack, version, and example. As a user I could then use csolution to browse for examples (csolution list examples) and then reliably create a copy of one in seconds (csolution Vendor::[email protected] blinky).
The text was updated successfully, but these errors were encountered:
jkrech
changed the title
Suggestion - enable example browsing and copying from csolution command
Add example browsing and copying from the command line
Jun 25, 2024
In the absence of accessing this information from the command line, we recommend to users to locate the examples for a specific board/device from keil.arm.com offering to download zip archives
e.g. https://www.keil.arm.com/boards/infineon-xmc4200-cpu-board-actuator-cpu-42a-v2-341e782/projects/
or use the CMSIS Solution VSCode Extension - New Solution flow and select from available examples after selecting a target.
Yes, this is an enhancement or usability issue rather than something that cannot be solved by the user any other way. But I think it would be a valuable addition!
From the command line (bash), CMSIS does not have a simple means of creating applications from a vendor's set of examples. In uVision and Keil Studio the installed packs are scoured for examples and the user can browse them, choose one, and ask the tool to create a project for it. On the command line, however, the user has to find the examples and manually copy the contents from a github repo, the CMSIS_PACK_ROOT folder, or elsewhere. It's not the most robust situation because it entails manually pulling parts from the vendor's folder structure, and presupposes some user knowledge of where to look.
I think the csolution program, which already has commands like list packs and list boards, could be extended to list examples. This would at least tell the user where to find "blinky".
Adding to that, it would be fantastic if csolution (or some other program) could be used to make a copy of the example by specifying the source pack, version, and example. As a user I could then use csolution to browse for examples (csolution list examples) and then reliably create a copy of one in seconds (csolution Vendor::[email protected] blinky).
The text was updated successfully, but these errors were encountered: