summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-09-04 05:11:02 +0700
committerhathach <[email protected]>2026-09-04 05:11:02 +0700
commitf9c0c1239250399bc41347b9160bd95721f86dca (patch)
tree169b7fc70ccf1fc375f7771e5eb83891be404f7d /test
parent78ec7f6abae94f59612f30cda4d24031f5e7b760 (diff)
sysview: fix cycle-2 review findingsclaude/add-systemview-debug
- sysview_ci.py: wait() after kill() on the OpenOCD/nc grace-period timeout, so a still-exiting process can't hold the probe when the recovery flash starts - SKILL.md: point the OpenOCD and post-mortem recipes at examples/device/cdc_msc_freertos, where build-sv actually lands - stm32f401blackpill: override SYSVIEW_BUFFER_SIZE_DEFAULT to 4096; the 64 KiB part overflows RAM by 12952 bytes at the family's 65536 default under SYSVIEW=4 - get_deps.py: align the SystemView entry's continuation lines
Diffstat (limited to 'test')
-rw-r--r--test/hil/sysview_ci.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hil/sysview_ci.py b/test/hil/sysview_ci.py
index 5a7ac6582..fb534a2e9 100644
--- a/test/hil/sysview_ci.py
+++ b/test/hil/sysview_ci.py
@@ -503,11 +503,11 @@ def flash_and_capture_one(board, fw, out_dir, repo_root):
finally:
nc.send_signal(signal.SIGINT)
try: nc.wait(5)
- except subprocess.TimeoutExpired: nc.kill()
+ except subprocess.TimeoutExpired: nc.kill(); nc.wait()
finally:
p.send_signal(signal.SIGINT)
try: p.wait(8)
- except subprocess.TimeoutExpired: p.kill()
+ except subprocess.TimeoutExpired: p.kill(); p.wait()
# A serial death in the first half of the window means the whole capture is
# mostly idle bus -- fail it outright. A late death still leaves a mostly-live
# capture; keep it, but flag workload_ok=false so report() gates the metrics.