Repository navigation
Commit 4d20eae
zephyr-cp: dynamic I2C0 and UARTE UART0 on the CLUE
The upstream board fixes I2C0 to SCL/SDA with the legacy TWI driver,
which the board-bus rule no longer allows on a board that uses iobroker.
Make it a dynamic TWIM instance; the onboard sensors on SCL/SDA have no
devicetree nodes, so it doesn't need to be fixed.
The upstream board also uses the legacy UART driver for UART0, the
CLUE's only UART instance. It can't be de-initialized, so after the
first busio.UART was released, no UART could be created again. Use
UARTE.
Add a console.overlay, so a CONSOLE=1 build puts the Zephyr console on
TX/RX, as on the Feathers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent b75f40f commit 4d20eae
2 files changed
Lines changed: 54 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | | - | |
19 | | - | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | | - | |
22 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
47 | 64 | | |
48 | 65 | | |
49 | 66 | | |
| |||
147 | 164 | | |
148 | 165 | | |
149 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
150 | 170 | | |
| 171 | + | |
151 | 172 | | |
152 | 173 | | |
153 | 174 | | |
| |||
156 | 177 | | |
157 | 178 | | |
158 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
159 | 191 | | |
160 | 192 | | |
161 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments