2019-08-18 13:27:09 +08: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"
|
2020-02-11 16:36:22 +08:00
|
|
|
"vfs/vfs_fat_sdmmc.c"
|
2019-08-18 13:27:09 +08:00
|
|
|
"vfs/vfs_fat_spiflash.c")
|
|
|
|
|
|
|
|
idf_component_register(SRCS ${srcs}
|
|
|
|
INCLUDE_DIRS diskio vfs src
|
2022-05-11 16:01:48 +02:00
|
|
|
REQUIRES wear_levelling sdmmc
|
2022-10-14 14:15:32 +02:00
|
|
|
PRIV_REQUIRES vfs spi_flash
|
2019-08-18 13:27:09 +08:00
|
|
|
)
|
2022-01-31 19:45:31 +01:00
|
|
|
|
|
|
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|