|
|
2 년 전 | |
|---|---|---|
| .. | ||
| main | 2 년 전 | |
| CMakeLists.txt | 2 년 전 | |
| README.md | 3 년 전 | |
| sdkconfig.defaults | 4 년 전 | |
| Supported Targets | ESP32-S2 | ESP32-S3 |
|---|
(See the README.md file in the upper level 'examples' directory for more information about examples.)
This example shows how to extend CDC-ACM driver for Virtual Communication Port (VCP) devices, such as CP210x, FTDI FT23x or CH34x devices.
The drivers are fetched from IDF Component Registry together with VCP service that automatically loads correct driver for plugged-in device.
handle_rx callbackConnect USB_D+, USB_D-, GND and +5V signals of your ESP chip to matching signals on USB to UART converter.
See common pin assignments for USB Device examples from upper level.
Build this project and flash it to the USB host board, then run monitor tool to view serial output:
idf.py -p PORT flash monitor
(Replace PORT with the name of the serial port to use.)
(To exit the serial monitor, type Ctrl-].)
See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.