mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
16 lines
501 B
CMake
16 lines
501 B
CMake
# The following five lines of boilerplate have to be in your project's
|
|
# CMakeLists in this exact order for cmake to work correctly
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
# TOP is absolute path to root directory of TinyUSB git repo
|
|
set(TOP "../../..")
|
|
get_filename_component(TOP "${TOP}" REALPATH)
|
|
|
|
# Add example src and bsp directories
|
|
set(EXTRA_COMPONENT_DIRS "src" "${TOP}/hw/bsp/${BOARD}")
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
set(SUPPORTED_TARGETS esp32s2)
|
|
|
|
project(cdc_msc_freertos)
|