<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/hw/bsp/nrf, branch claude/add-systemview-debug</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/tinyusb.git/atom/hw/bsp/nrf?h=claude%2Fadd-systemview-debug</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/hw/bsp/nrf?h=claude%2Fadd-systemview-debug'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2026-09-03T23:06:25Z</updated>
<entry>
<title>sysview: fix cycle-3 review findings</title>
<updated>2026-09-03T23:06:25Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-09-03T23:06:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=633e074a0b9effbfbb84c93695e52fb75009564c'/>
<id>urn:sha1:633e074a0b9effbfbb84c93695e52fb75009564c</id>
<content type='text'>
- kill_traffic(): stop the recording at --duration-ms exactly, then reap
  the workload, instead of waiting on it (up to 60s) before -stop
- sysview_report.py: key open_calls by (func id, context) so interleaved
  callers of the same function don't cross-pair CALL/RET
- build.yml: intersect the sysview dep-fetch board list with the PR's own
  HIL selection (tinyusb.json vs hfp.json), and skip entirely when HIL is
  not running for this PR
- nrf54h20dk: shrink SYSVIEW_BUFFER_SIZE_DEFAULT to 4096 -- .data/.bss sit
  in the 32 KiB primary RAM, so the family's 65536 default fails to link
- tusb_sysview.c: copy pcTaskName into a local buffer at snapshot time so
  a task deleted mid-lap can't leave SendTaskInfo() dereferencing a freed TCB
- sysview_ci.py: drop a comparison against a baseline whose capture config
  (example/workload/duration_s) changed, and fail cdc_burst when the link
  stays enumerated but echoes nothing back
- SKILL.md: document the WCH post-mortem dump path (OpenOCD, no J-Link)
</content>
</entry>
<entry>
<title>sysview: per-family RTT buffer defaults, 65536 on RAM-rich parts</title>
<updated>2026-09-03T21:21:57Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-08-11T10:07:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=d2de029fd9def460d66e87fd1088cc49ed0f4574'/>
<id>urn:sha1:d2de029fd9def460d66e87fd1088cc49ed0f4574</id>
<content type='text'>
The dual-role dogfood measured the 4096 fallback losing 96.7% of ISR exit
contexts on mimxrt1064_evk and 99.1% on metro_m4_express; a local-board run
measured stm32u575nucleo losing ~19% of the whole stream under a 12 s
cdc_msc workload. The default was too small for any real capture on fast
parts and every user had to rediscover that per board.

Families now declare SYSVIEW_BUFFER_SIZE_DEFAULT in family.cmake (the
SYSVIEW_RAM_BASE_DEFAULT pattern): imxrt, nrf, rp2040, samd5x_e5x, stm32f4,
stm32f7, stm32h7 and stm32u5 set 65536, the measured-safe value.
-DSYSVIEW_BUFFER_SIZE still beats everything; small-RAM parts keep the 4096
fallback and their per-board overrides (stm32f072disco's 2048 verified
still honoured). lpc55 measured 34 lost events on the same route, an order
of magnitude lighter, so it keeps the fallback rather than inheriting a
default on thin evidence.
</content>
</entry>
<entry>
<title>sysview: FreeRTOS trace hooks, stack high-water and heap tracking</title>
<updated>2026-09-03T21:21:57Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-08-11T10:07:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=a40af493a57fa99e9383290dabdcc10e1fa9a309'/>
<id>urn:sha1:a40af493a57fa99e9383290dabdcc10e1fa9a309</id>
<content type='text'>
hw/bsp/sysview_freertos_hooks.h maps the FreeRTOS trace macros onto
SystemView task records (task names, switches, ready/blocked) and adds heap
tracking; the FreeRTOSConfig.h of the families used on the rig include it
when SYSVIEW is on.

The FreeRTOS examples grow their USB task stacks when CFG_TU*_SYSVIEW is
enabled, the same way they already do for CFG_TUSB_DEBUG -- the
instrumentation's stack cost is real (measured overflows on lpc55 before
the bump).
</content>
</entry>
<entry>
<title>nrf: etm-trace for nrf52840dk and nrf5340dk</title>
<updated>2026-07-24T08:56:14Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-07-24T08:28:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=927f12415ef09b6f590c83660c13491a644b4626'/>
<id>urn:sha1:927f12415ef09b6f590c83660c13491a644b4626</id>
<content type='text'>
nrf52840dk: 16 MHz TRACECLK (hardware cap) width 4, P25 soldered, SW7=Alt;
no family code needed (J-Link arms TRACECONFIG). nrf5340dk: TRACE_ETM
builds force the TAD port to 16 MHz (SystemInit's 64 MHz is marginal),
+3 ns sample timing; the interface MCU's UART1 flow control drives the
trace pins - SB27/SB28 must be cut (P0.10/P0.11 = TRACEDATA1/0).
</content>
</entry>
<entry>
<title>Adjust RAM configuration for nrf54h20 to optimize memory usage in video examples</title>
<updated>2026-05-04T15:13:14Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-05-04T15:13:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=076fd79b4c16b7435060585c0337bc69133e073f'/>
<id>urn:sha1:076fd79b4c16b7435060585c0337bc69133e073f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clean up</title>
<updated>2026-04-10T14:17:46Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-04-10T14:17:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=b2b498f17e403b006943ca15d9884b4f596eacfb'/>
<id>urn:sha1:b2b498f17e403b006943ca15d9884b4f596eacfb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix nrf54 and freertos port</title>
<updated>2026-04-10T10:46:41Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-04-10T10:46:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=4b0ed0b29ab967eef555c4189c9061936927ab17'/>
<id>urn:sha1:4b0ed0b29ab967eef555c4189c9061936927ab17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add dwc2_clock_init() to have nrf54 initial sequence. currently stub for other ports.</title>
<updated>2026-04-10T09:52:15Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-04-10T09:52:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=c96ff6b6d978bdcacc7cd49ad66ef00438cfb9f6'/>
<id>urn:sha1:c96ff6b6d978bdcacc7cd49ad66ef00438cfb9f6</id>
<content type='text'>
add board_uart_read() for nrf
</content>
</entry>
<entry>
<title>Add initial board support for nRF54LM20 DK</title>
<updated>2026-04-09T04:08:39Z</updated>
<author>
<name>gab-k</name>
<email>gabriel@koppenstein.com</email>
</author>
<published>2026-03-27T17:34:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=a39e9cdf2c82401eb61b99dd35e73531bcd76cf1'/>
<id>urn:sha1:a39e9cdf2c82401eb61b99dd35e73531bcd76cf1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove IAR toolchain support from make build system</title>
<updated>2026-04-06T04:17:34Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-19T15:23:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=4c7a9fed96e0a81cc640333c1c82fee54fa4be34'/>
<id>urn:sha1:4c7a9fed96e0a81cc640333c1c82fee54fa4be34</id>
<content type='text'>
IAR is only supported with CMake. Remove all IAR-specific references
from the Make build system including toolchain files, SRC_S_IAR,
LD_FILE_IAR variables, and IAR toolchain detection.

Also fix GET_SECTOR_COUNT truncation in msc_file_explorer and
broken formatting in stm32f7 board_uart_write.

Co-Authored-By: Claude Opus 4.6 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
