mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
16 lines
439 B
CMake
16 lines
439 B
CMake
set(srcs)
|
|
|
|
set(public_include "include")
|
|
|
|
if(CONFIG_SOC_GPSPI_SUPPORTED)
|
|
list(APPEND srcs "src/sdspi_crc.c"
|
|
"src/sdspi_host.c"
|
|
"src/sdspi_transaction.c")
|
|
endif()
|
|
|
|
idf_component_register(SRCS ${srcs}
|
|
INCLUDE_DIRS ${public_include}
|
|
REQUIRES sdmmc esp_driver_spi esp_driver_gpio
|
|
PRIV_REQUIRES esp_timer
|
|
)
|