diff options
| author | hathach <[email protected]> | 2023-03-30 11:37:36 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-03-30 11:37:36 +0700 |
| commit | cf7aad790c23dd1adebd0d86ae2338a1cd64aa97 (patch) | |
| tree | 53ec271a714d7291b79996c8b19537fd7bd72934 /examples/device/board_test | |
| parent | 641613c428e10a029b172c318d4db077e35fee7d (diff) | |
more esp32 cmake clean up
Diffstat (limited to 'examples/device/board_test')
| -rw-r--r-- | examples/device/board_test/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | examples/device/board_test/src/CMakeLists.txt | 6 |
2 files changed, 1 insertions, 12 deletions
diff --git a/examples/device/board_test/CMakeLists.txt b/examples/device/board_test/CMakeLists.txt index b21d56f9e..4435bd523 100644 --- a/examples/device/board_test/CMakeLists.txt +++ b/examples/device/board_test/CMakeLists.txt @@ -1,12 +1,5 @@ cmake_minimum_required(VERSION 3.5) -# -DFAMILY=espressif -if(FAMILY STREQUAL "espressif") - # TOP is absolute path to root directory of TinyUSB git repo - set(TOP "../../..") - get_filename_component(TOP "${TOP}" REALPATH) -endif() - include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake) # gets PROJECT name for the example (e.g. <BOARD>-<DIR_NAME>) diff --git a/examples/device/board_test/src/CMakeLists.txt b/examples/device/board_test/src/CMakeLists.txt index 03f4c7505..8d85dcafd 100644 --- a/examples/device/board_test/src/CMakeLists.txt +++ b/examples/device/board_test/src/CMakeLists.txt @@ -1,7 +1,3 @@ idf_component_register(SRCS "main.c" INCLUDE_DIRS "." - REQUIRES freertos soc tinyusb_src) - -target_include_directories(${COMPONENT_TARGET} PUBLIC - "${TOP}/hw" - ) + REQUIRES boards tinyusb_src) |
