@@ -14,21 +14,13 @@ The bridge expects a `serial` resource (anything implementing `embedded_io` `Rea
1414
1515Use ` cu_linux_resources::LinuxResources ` as the serial provider; it stores owned
1616resources in fixed slots like ` <bundle>.serial0 ` through ` <bundle>.serial5 ` .
17-
18- For example, to use ` serial3 ` , configure serial slot ` serial3_* ` :
19-
20- | Key | Type | Default | Description |
21- | --- | --- | --- | --- |
22- | ` serial3_dev ` | string | (required) | Device node for the ` serial3 ` resource slot. |
23- | ` serial3_baudrate ` | u32 | ` 115200 ` | UART baudrate for this slot. |
24- | ` serial3_parity ` | string | ` none ` | Parity for this slot (` none ` , ` odd ` , ` even ` ). |
25- | ` serial3_stopbits ` | u8 | ` 1 ` | Stop bits for this slot (` 1 ` or ` 2 ` ). |
26- | ` serial3_timeout_ms ` | u64 | ` 50 ` | Read timeout for this slot in milliseconds. |
17+ For serial config keys (` serialN_dev ` , ` serialN_baudrate ` , parity/stopbits/timeout), see
18+ [ ` cu_linux_resources ` README: Config Keys / Serial] ( ../../res/cu_linux_resources/README.md#serial ) .
2719
2820``` ron
2921resources: [
3022 (
31- id: "radio ",
23+ id: "linux ",
3224 provider: "cu_linux_resources::LinuxResources",
3325 config: { "serial3_dev": "/dev/ttyUSB0", "serial3_baudrate": 420000 },
3426 ),
@@ -37,7 +29,7 @@ bridges: [
3729 (
3830 id: "crsf",
3931 type: "cu_crsf::CrsfBridgeStd",
40- resources: { serial: "radio .serial3" },
32+ resources: { serial: "linux .serial3" },
4133 channels: [ Rx (id: "rc_rx"), Rx (id: "lq_rx") ],
4234 ),
4335],
0 commit comments