Fix UART1 GPIO mapping and simplify command logging.

Use TX=GPIO3 and RX=GPIO2 at 921600 to match the terminal adapter wiring;
log received message id and which handler command is triggered.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-18 22:06:49 +02:00
co-authored by Cursor
parent 43a85ce697
commit a1629fb3db
5 changed files with 93 additions and 49 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ init_uart(cmd_queue);
## UART frame format
Packets on UART1 (921600 baud, pins TX=2 / RX=3):
Packets on **UART1** (921600 baud, **TX=GPIO3**, **RX=GPIO2** — USB adapter on `/dev/ttyUSB0`):
| Field | Value |
|-----------|--------------------------------------------|