1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

[usb_uart] Implement USB Host mode UART (#8334)

This commit is contained in:
Clyde Stubbs
2025-05-22 11:54:40 +10:00
committed by GitHub
parent d1e55252d0
commit 1ec57a74b5
13 changed files with 1464 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
usb_uart:
- id: uart_0
type: cdc_acm
vid: 0x1234
pid: 0x5678
channels:
- id: channel_0_1
- id: uart_1
type: cp210x
channels:
- id: channel_1_1
baud_rate: 115200
stop_bits: 2
data_bits: 7
parity: even
- id: uart_2
type: ch34x
channels:
- id: channel_2_1
baud_rate: 115200
- id: channel_2_2
baud_rate: 9600
- id: uart_3
type: ch340
channels:
- id: channel_3_1
baud_rate: 57600
- id: uart_4
type: esp_jtag
channels:
- id: channel_4_1
debug: true
dummy_receiver: true

View File

@@ -0,0 +1 @@
!include common.yaml