mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
10 lines
329 B
CMake
10 lines
329 B
CMake
|
cmake_minimum_required(VERSION 3.5)
|
||
|
|
||
|
# Apply board specific content
|
||
|
include("${CMAKE_CURRENT_LIST_DIR}/boards/${BOARD}/board.cmake")
|
||
|
|
||
|
# Add example src and bsp directories
|
||
|
set(EXTRA_COMPONENT_DIRS "src" "${CMAKE_CURRENT_LIST_DIR}/boards" "${CMAKE_CURRENT_LIST_DIR}/components")
|
||
|
|
||
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|