summaryrefslogtreecommitdiffstats
path: root/tinyusb/hw/bsp/esp32s2/boards/CMakeLists.txt
blob: 71753012bf9be8424b3a5f85f6dd89a05b6b2a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
idf_component_register(SRCS esp32s2.c
                    INCLUDE_DIRS "." "${BOARD}"
                    PRIV_REQUIRES "driver"
                    REQUIRES freertos src led_strip)

# Apply board specific content
include("${BOARD}/board.cmake")

idf_component_get_property( FREERTOS_ORIG_INCLUDE_PATH freertos ORIG_INCLUDE_PATH)
target_include_directories(${COMPONENT_TARGET} PUBLIC
  "${FREERTOS_ORIG_INCLUDE_PATH}"
  "${TOP}/hw"
  "${TOP}/src"  
)