spiffs文件系统是挂载在哪个分区的
Posted: Wed Jun 12, 2019 5:51 am
1、我需要把一些比较小的音频文件写到固件里,是直接在指定地址烧写,还是用程序下载后通过spiffs写进去?
2、系统重启后spiffs初始化完成还能找得到之前写的文件吗?
2、系统重启后spiffs初始化完成还能找得到之前写的文件吗?
Code: Select all
# Name, Type, SubType, Offset, Size, Flags
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 1M,
www, data, spiffs, , 2M,
Code: Select all
spiffs_create_partition_image(www ${WEB_SRC_DIR}/dist FLASH_IN_PROJECT)