esp-idf/tools/test_apps/peripherals/usb
Djordje Nedic facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
..
main ci: Add USB Host CDC and MSC pytests to pipeline 2022-03-21 18:34:24 +01:00
CMakeLists.txt tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00:00
README.md
pytest_usb_host.py ci: Add USB Host CDC and MSC pytests to pipeline 2022-03-21 18:34:24 +01:00
sdkconfig.defaults usb_host: Pin test task to core 0 2022-03-21 18:34:25 +01:00

README.md

Supported Targets ESP32-S2 ESP32-S3

USB Host Class driver test project

Main purpose of this application is to test the USB Host Class drivers.

CDC-ACM driver

It tests basic functionality of the driver like open/close/read/write operations, advanced features like CDC control request, multi-threaded or multi-device access, as well as reaction to sudden disconnection and other error states.

Hardware Required

This test expects that TinyUSB dual CDC device with VID = 0x303A and PID = 0x4002 is connected to the USB host.

MSC driver

Basic functionality such as MSC device install/uninstall, file operatons, raw access to MSC device and sudden disconnect is tested.

Hardware Required

This test requires two ESP32-S2/S3 boards with a interconnected USB perpherals, one acting as host running MSC host driver and another MSC device driver (tinyusb).