diff options
| author | Ha Thach <[email protected]> | 2026-02-25 10:22:12 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-25 10:22:12 +0700 |
| commit | bd1e79bc6cefbbbe981691c3a55e24cf25537301 (patch) | |
| tree | 14253482a83c015ee57f7f692a4a3788b6cfd8ac /AGENTS.md | |
| parent | 2e5d5665f3b07dd97b0c34758402be0fbeb1973d (diff) | |
| parent | da21dab358a06106188e2bb06fa71ccd5390fa1a (diff) | |
Merge pull request #3513 from hathach/fix-cdch-ftdi-mulitple-channel
Fix FTDI host multi-channel loop and update documentation
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -91,6 +91,22 @@ make BOARD=raspberry_pi_pico all - Make: `make BOARD=raspberry_pi_pico all uf2` - **List all targets** (CMake/Ninja): `ninja -t targets` +## J-Link GDB Server + RTT Logging + +- Build with RTT logging enabled (example): + `cd examples/device/cdc_msc && make BOARD=stm32h743eval LOG=2 LOGGER=rtt all` +- Flash with J-Link: + `cd examples/device/cdc_msc && make BOARD=stm32h743eval LOG=2 LOGGER=rtt flash-jlink` +- Launch GDB server (keep this running in terminal 1): + `JLinkGDBServer -device stm32h743xi -if SWD -speed 4000 -port 2331 -swoport 2332 -telnetport 2333 -RTTTelnetPort 19021 -nogui` +- Read RTT output (terminal 2): + `JLinkRTTClient` +- Capture RTT to file (optional): + `JLinkRTTClient | tee rtt.log` +- For non-interactive capture: + `timeout 20s JLinkRTTClient > rtt.log` +- Use the board-specific `JLINK_DEVICE` from `hw/bsp/*/boards/*/board.mk` if you are not using `stm32h743eval`. + ## Unit Testing - Install Ceedling: `sudo gem install ceedling` |
