summaryrefslogtreecommitdiff
path: root/hw
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 /hw
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 'hw')
-rw-r--r--hw/bsp/stm32f4/boards/stm32f401blackpill/board.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/bsp/stm32f4/boards/stm32f401blackpill/board.cmake b/hw/bsp/stm32f4/boards/stm32f401blackpill/board.cmake
index fab6a42d2..34bf54e99 100644
--- a/hw/bsp/stm32f4/boards/stm32f401blackpill/board.cmake
+++ b/hw/bsp/stm32f4/boards/stm32f401blackpill/board.cmake
@@ -1,3 +1,6 @@
+# 64 KiB total RAM: the family's 65536 SystemView default cannot link here.
+set(SYSVIEW_BUFFER_SIZE_DEFAULT 4096)
+
set(MCU_VARIANT stm32f401xc)
set(JLINK_DEVICE stm32f401cc)