armink / EasyFlash

Lightweight IoT device information storage solution: KV/IAP/LOG. | 轻量级物联网设备信息存储方案:参数存储、在线升级及日志存储 ,全新一代版本请移步至 https://github.com/armink/FlashDB
MIT License
1.99k stars 760 forks source link

在环形扇区块第一次跨扇区写入数据时,会有擦除空扇区的情况 #164

Open wangjiujie999 opened 9 months ago

wangjiujie999 commented 9 months ago

跨扇区的数据写入都采用的是先擦后写的逻辑,这会在第一次跨扇区写入数据时产生擦除空扇区的多余操作,不知道会不会造成时间的不必要损耗;