Skip to content

Commit 7be293d

Browse files
cbuild-run: show warning if packs are missing
- currently local packs are not checked - rather issue a warning then error
1 parent 01039a6 commit 7be293d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyocd/target/pack/cbuild_run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@ def _installed(cmsis_pack: str) -> bool:
373373
with open('packs.txt', 'w', encoding="utf-8") as f:
374374
f.writelines(pack + '\n' for pack in missing_packs)
375375
# Raise exception if packs are missing
376-
raise CbuildRunError("Missing required CMSIS packs. Install with 'cpackget add -f packs.txt'")
376+
# raise CbuildRunError("Missing required CMSIS packs. Install with 'cpackget add -f packs.txt'")
377+
LOG.warning("Missing required CMSIS packs. Install with 'cpackget add -f packs.txt'")
377378

378379
@property
379380
def target(self) -> str:

0 commit comments

Comments
 (0)