esp32s2 work with hid_composite_freertos

This commit is contained in:
hathach
2020-04-07 16:35:02 +07:00
parent aff52919d6
commit 62c14a6866
4 changed files with 50 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
idf_component_register(SRCS "main.c" "usb_descriptors.c" "msc_disk.c"
INCLUDE_DIRS "."
REQUIRES freertos soc)
target_compile_options(${COMPONENT_TARGET} PUBLIC
"-DCFG_TUSB_MCU=OPT_MCU_ESP32S2"
)
@@ -29,4 +29,3 @@ target_sources(${COMPONENT_TARGET} PUBLIC
"${TOP}/src/class/vendor/vendor_device.c"
"${TOP}/src/portable/espressif/esp32s2/dcd_esp32s2.c"
)