File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change
1
+ CONFIG_USB_DEVICE_STACK=y
2
+ CONFIG_USB_DEVICE_PRODUCT="Raspberry Pi Pico"
3
+ CONFIG_USB_DEVICE_MANUFACTURER="Raspberry Pi"
4
+ CONFIG_USB_DEVICE_VID=0x2E8A
5
+ CONFIG_USB_DEVICE_PID=0x00C0
6
+
7
+ CONFIG_SERIAL=y
8
+ CONFIG_CONSOLE=y
9
+ CONFIG_UART_CONSOLE=y
10
+ CONFIG_UART_LINE_CTRL=y
Original file line number Diff line number Diff line change 78
78
<&adc 1>,
79
79
<&adc 2>;
80
80
81
- serials = <&pico_serial>;
81
+ serials = <&board_cdc_acm_uart>, <&pico_serial>;
82
+ cdc-acm = <&board_cdc_acm_uart>;
82
83
i2cs = <&pico_i2c0>;
83
84
spis = <&pico_spi>;
84
85
};
199
200
};
200
201
};
201
202
203
+ &zephyr_udc0 {
204
+ board_cdc_acm_uart: board_cdc_acm_uart {
205
+ compatible = "zephyr,cdc-acm-uart";
206
+ status = "okay";
207
+ };
208
+ };
209
+
202
210
&flash0 {
203
211
partitions {
204
212
user_sketch: partition@e0000 {
205
213
reg = <0x0E0000 0x20000>;
206
214
};
207
215
};
208
- };
216
+ };
You can’t perform that action at this time.
0 commit comments