Add the board-pack-path: and device-pack-path: in cbuild-run.yml#2440
Add the board-pack-path: and device-pack-path: in cbuild-run.yml#2440brondani merged 4 commits intoOpen-CMSIS-Pack:mainfrom
board-pack-path: and device-pack-path: in cbuild-run.yml#2440Conversation
There was a problem hiding this comment.
Pull request overview
Adds explicit board/device pack installation path fields to generated .cbuild-run.yml files, enabling downstream tools (debug/flash workflows) to reliably locate local packs that aren’t derivable from CMSIS_PACK_ROOT.
Changes:
- Extend run/debug data model (
RunDebugType) to carryboardPackPath/devicePackPath. - Emit new YAML keys
board-pack-path/device-pack-pathin.cbuild-run.ymlgeneration and capture the values from selected packs. - Update JSON schema and refresh
.cbuild-run.ymlreference outputs used by tests.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tools/projmgr/src/ProjMgrRunDebug.cpp | Captures absolute pack paths for device/board packs into the run/debug model. |
| tools/projmgr/src/ProjMgrCbuildRun.cpp | Emits board-pack-path and device-pack-path into generated .cbuild-run.yml. |
| tools/projmgr/schemas/common.schema.json | Extends schema to allow the new YAML properties. |
| tools/projmgr/include/ProjMgrYamlParser.h | Adds YAML key constants for the new fields. |
| tools/projmgr/include/ProjMgrRunDebug.h | Extends RunDebugType with new path members. |
| tools/projmgr/test/data//.cbuild-run.yml | Updates reference .cbuild-run.yml outputs to include the new path fields. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Test Results 3 files 21 suites 18m 1s ⏱️ Results for commit ef5e6c2. ♻️ This comment has been updated with latest results. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2440 +/- ##
=======================================
Coverage 64.75% 64.75%
=======================================
Files 145 145
Lines 26161 26168 +7
Branches 15792 15799 +7
=======================================
+ Hits 16941 16946 +5
Misses 7063 7063
- Partials 2157 2159 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Fixes
.cbuild-run.yml#2425Changes
board-pack-pathanddevice-pack-path) in the cbuild-run.yml. The changes affect data structures, YAML parsing, schema validation, and test data..cbuild-run.ymlreference filesFor example:

Checklist