summaryrefslogtreecommitdiff
path: root/examples/device/cdc_msc_freertos/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-07 16:35:02 +0700
committerhathach <[email protected]>2020-04-07 16:35:02 +0700
commit62c14a686654db7ee34ac88c1dcf33d67736da4c (patch)
tree0d8b6bd7109b2b2d48aeb781b1ef5f50c92749d0 /examples/device/cdc_msc_freertos/src
parentaff52919d6aaa8e46e7b2a73fd48dce707aa759e (diff)
esp32s2 work with hid_composite_freertos
Diffstat (limited to 'examples/device/cdc_msc_freertos/src')
-rw-r--r--examples/device/cdc_msc_freertos/src/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/device/cdc_msc_freertos/src/CMakeLists.txt b/examples/device/cdc_msc_freertos/src/CMakeLists.txt
index d24bc2e41..ab4c1aa6d 100644
--- a/examples/device/cdc_msc_freertos/src/CMakeLists.txt
+++ b/examples/device/cdc_msc_freertos/src/CMakeLists.txt
@@ -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"
)
-