diff options
| author | Ha Thach <[email protected]> | 2023-06-12 23:14:48 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-12 23:14:48 +0700 |
| commit | bbc76e77779a88fddcfc4d38a406edff2b4d09fb (patch) | |
| tree | 8384cc562433893165ef8d2c403f3b8d22aa7e65 /src/CMakeLists.txt | |
| parent | 39a64334aaf815b1b01e246680dd1e2d21f9fd18 (diff) | |
| parent | 41801c2a6bd146033f5ff00e54983de46ab414b9 (diff) | |
Merge pull request #2104 from hathach/g4-pd
Initial support for USB PD stack
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 09f41c9ab..ce4486ecd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -32,6 +32,8 @@ function(add_tinyusb TARGET) ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/class/hid/hid_host.c ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/class/msc/msc_host.c ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/class/vendor/vendor_host.c + # typec + ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/typec/utcd.c ) target_include_directories(${TARGET} PUBLIC ${CMAKE_CURRENT_FUNCTION_LIST_DIR} @@ -98,7 +100,3 @@ endif() target_link_libraries(${TINYUSB_TARGET} PUBLIC ${TINYUSB_CONFIG_TARGET} ) - -# export target name -# set(TINYUSB_TARGET ${TINYUSB_TARGET} PARENT_SCOPE) -# set(TINYUSB_CONFIG_TARGET ${TINYUSB_CONFIG_TARGET} PARENT_SCOPE) |
