summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-05-04 23:29:37 +0700
committerhathach <[email protected]>2023-05-04 23:29:37 +0700
commit8a9d2b4b759990f9609a33c313b154cc7314bec7 (patch)
tree06eab13a38fa61c7b52079b2bd0fa419906919d0 /examples
parent629717cd13730fa5f7543ce414ff11b5c175add0 (diff)
wip
Diffstat (limited to 'examples')
-rw-r--r--examples/device/cdc_msc/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/device/cdc_msc/CMakeLists.txt b/examples/device/cdc_msc/CMakeLists.txt
index 7eddc2422..1115f51d1 100644
--- a/examples/device/cdc_msc/CMakeLists.txt
+++ b/examples/device/cdc_msc/CMakeLists.txt
@@ -29,6 +29,13 @@ target_include_directories(${PROJECT} PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/src
)
+# define tinyusb_config target
+add_library(tinyusb_config INTERFACE)
+
+target_include_directories(tinyusb_config INTERFACE
+ ${CMAKE_CURRENT_SOURCE_DIR}/src
+ )
+
# Configure compilation flags and libraries for the example... see the corresponding function
# in hw/bsp/FAMILY/family.cmake for details.
family_configure_device_example(${PROJECT})