mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[usb_uart] Implement USB Host mode UART (#8334)
This commit is contained in:
		
							
								
								
									
										33
									
								
								tests/components/usb_uart/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								tests/components/usb_uart/common.yaml
									
									
									
									
									
										Normal 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 | ||||
		Reference in New Issue
	
	Block a user