01 Overview
SDMMC or SPI mode.
- Use when: long logs, offline export.
- Skip when: a few config bytes (NVS).
Keep data
Field logs for the customer. Design the slot for hot-plug.
Official path: examples/storage/sd_card
SDMMC or SPI mode.
1. Mount FAT.
2. Write and sync.
3. Unmount before removal. Tell the user when a write is in flight.
中文
掉电还在
现场日志、导出给客户。卡槽和电源要按热插拔想。
官方路径: examples/storage/sd_card
SDMMC 或 SPI 模式读写 SD。
1. 挂载 FAT。
2. 写文件,注意同步。
3. 拔卡前卸载。产品要提示「正在写」。