diff options
| author | hathach <[email protected]> | 2023-05-04 23:29:37 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-05-04 23:29:37 +0700 |
| commit | 8a9d2b4b759990f9609a33c313b154cc7314bec7 (patch) | |
| tree | 06eab13a38fa61c7b52079b2bd0fa419906919d0 /hw | |
| parent | 629717cd13730fa5f7543ce414ff11b5c175add0 (diff) | |
wip
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/imxrt/family.cmake | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/hw/bsp/imxrt/family.cmake b/hw/bsp/imxrt/family.cmake index 95c4c0415..c18fb01ab 100644 --- a/hw/bsp/imxrt/family.cmake +++ b/hw/bsp/imxrt/family.cmake @@ -73,9 +73,22 @@ function(family_configure_target TARGET) ${SDK_DIR}/drivers/lpuart ) + # define tinyusb_config target + + #target_include_directories(tinyusb_config INTERFACE + # ) + + target_compile_definitions(tinyusb_config PUBLIC + ) + # include tinyusb cmake - include(${TOP}/src/CMakeLists.txt) - add_tinyusb(${TARGET}) + add_subdirectory(${TOP}/src ${CMAKE_CURRENT_BINARY_DIR}/tinyusb) + target_link_libraries(${TARGET} PUBLIC + tinyusb + ) + + #include(${TOP}/src/CMakeLists.txt) + #add_tinyusb(${TARGET}) endfunction() |
