mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
6a3bb3294d
Previously, descriptors of the test devices were stored direclty in the mock device files (e.g., "mock_[hid|msc].[h|c]"). This commit splits out the device descriptors to separate files (e.g., "dev_[hid|msc].c") along with getter functions. Users that want to run the tests locally on a different device simply need to update the "dev_[hid|msc].c" file for their device.
8 lines
293 B
CMake
8 lines
293 B
CMake
idf_component_register(SRCS "dev_hid.c"
|
|
"dev_isoc.c"
|
|
"dev_msc.c"
|
|
"mock_msc.c"
|
|
"test_usb_common.c"
|
|
INCLUDE_DIRS "."
|
|
REQUIRES usb unity)
|