feat(xteink): wire USB serial JTAG interrupts

Report SOF and serial-in-empty as always pending and route the peripheral
IRQ through the interrupt matrix so the ESP-IDF console driver progresses.
Merge emulator stdout into serial.log so crash output lands in one place.
This commit is contained in:
2026-07-26 09:21:43 -04:00
parent 5906b67287
commit 5721bd8102
5 changed files with 54 additions and 16 deletions
+1 -2
View File
@@ -70,8 +70,7 @@ Resolve script paths relative to this skill directory. `scripts/xteink-emu.sh` s
## Diagnose Failures
- Firmware serial output: `$XTEINK_EMU_STATE/serial.log`
- Emulator output: `$XTEINK_EMU_STATE/qemu.log`
- Firmware serial output and emulator messages: `$XTEINK_EMU_STATE/serial.log`
- Assembled flash image: `$XTEINK_EMU_STATE/flash.bin`
- Resolve crash addresses against the exact ELF produced with the tested binary, using the project's RISC-V `addr2line` tool.
- Preserve the SD image when reproducing persistence bugs; replace it when testing first-boot behavior.