2019-08-18 05:27:09 +00:00
|
|
|
set(srcs "diskio/diskio.c"
|
|
|
|
"diskio/diskio_rawflash.c"
|
|
|
|
"diskio/diskio_sdmmc.c"
|
|
|
|
"diskio/diskio_wl.c"
|
|
|
|
"src/ff.c"
|
|
|
|
"port/freertos/ffsystem.c"
|
|
|
|
"src/ffunicode.c"
|
|
|
|
"vfs/vfs_fat.c"
|
|
|
|
"vfs/vfs_fat_spiflash.c")
|
|
|
|
|
|
|
|
if(IDF_TARGET STREQUAL "esp32")
|
|
|
|
list(APPEND srcs "vfs/vfs_fat_sdmmc.c")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
idf_component_register(SRCS ${srcs}
|
|
|
|
INCLUDE_DIRS diskio vfs src
|
|
|
|
REQUIRES wear_levelling sdmmc
|
|
|
|
)
|