mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
af81bd1b0a
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
19 lines
580 B
CMake
19 lines
580 B
CMake
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_sdmmc.c"
|
|
"vfs/vfs_fat_spiflash.c")
|
|
|
|
idf_component_register(SRCS ${srcs}
|
|
INCLUDE_DIRS diskio vfs src
|
|
REQUIRES wear_levelling sdmmc
|
|
PRIV_REQUIRES vfs spi_flash
|
|
)
|
|
|
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|