Files
rockblock9704-zephyr/tests/rig/nucleo_u575zi_q_rig.overlay
scottp dbed9bbc88 The shell sample, and a two-board rig for testing on hardware
samples/shell is `rb9704` on the shell with callbacks that print what
arrives, a CRC-32 and the start of each message from the network. Board
overlays for native_sim (the modem a host serial port, a pty or a real
9704 on USB), NUCLEO-U575ZI-Q, XIAO ESP32S3 and ESP32-S3-DevKitC.

tests/rig/bridge copies bytes between a board's USB serial port and a
UART, so two boards wired together stand in for a USB-serial adapter: one
runs the sample, the other bridges its modem UART to the host, where the
fake modem answers. Overlays for a Nucleo and a XIAO, either way round.
2026-10-09 12:48:16 +11:00

14 lines
462 B
Plaintext

/* The shell sample on a NUCLEO-U575ZI-Q in the test rig: the modem UART on
* USART2, PD5 (TX) and PD6 (RX) on the CN9 UART block, wired to the bridge
* board's target UART (bridge/). The shell stays on the ST-LINK's port.
* west build -b nucleo_u575zi_q samples/shell -- \
* -DDTC_OVERLAY_FILE=$PWD/tests/rig/nucleo_u575zi_q_rig.overlay */
&usart2 {
current-speed = <230400>;
fifo-enable;
rockblock {
compatible = "rock7,rockblock-9704";
};
};