mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
f5e02e72ed
`hw\bsp` separate one family folder to esp32s2, esp32s3 add board specific board.cmake file to override board specific options(features) fix examples and test scripts to use new family approach
15 lines
451 B
CMake
15 lines
451 B
CMake
idf_component_register(SRCS esp32s3.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"
|
|
)
|