Files
P4-USB-transfer/partitions.csv
T
zhengxinandCursor 851e347cf5 初始提交卡包 USB 工程
纳入固件源码、屏幕组件、nand_xfer 工具和文档。忽略本机构建产物、sdkconfig,以及含本机路径的依赖锁。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 21:54:50 +08:00

20 lines
1.5 KiB
CSV
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Name, Type, SubType, Offset, Size, Flags
# 与 IntegratedV1 同一张表:分区表在 0x8000。先烧录 IntegratedV1 后,
# 只覆盖 ota_0(0x70000)或 ota_1(0xAA0000)的 app 即可在两套程序间切换。
# 元数据区(全部 4KB 对齐):nvs 起始偏移 0xE000 保持不变,现场设备的配置(WiFi/AI Token/
# 亮度/表情包列表)升级后继续有效;phy_init 借用 0x9000–0xE000 这段原本空置的区域。
phy_init, data, phy, 0x9000, 4K,
nvs, data, nvs, 0xE000, 128K,
# 应用/游戏专用 NVS:与系统 nvs 隔离,代码里用 nvs_flash_init_partition("app_nvs") 打开,
# 后续应用(游戏进度、成就、用户数据等)都写这个分区,避免和系统配置互相挤占。
app_nvs, data, nvs, 0x2E000, 256K,
otadata, data, ota, 0x6E000, 8K,
# 两个 OTA 应用槽必须等大,且偏移按 gen_esp32part 的 APP_TYPE 规则 64KB 对齐,
# 否则 OTA 无法在两个槽之间切换。
ota_0, app, ota_0, 0x70000, 10M,
ota_1, app, ota_1, 0xAA0000, 10M,
# 11648K = 11.375MB(0xB60000):放语音模型(唤醒词 0.28MB + vadnet 0.27MB + nsnet 0.32MB +
# 命令词 mn7_cn 2.55MB)+ 字库 + 表情/Lottie 资源(约 3.4MB),并预留后续增长。
# P4 支持 32MB flash 全地址访问(16MB 寻址限制是 S3 那一代的事),本分区正好用到 32MB 末尾。
file_storage, data, fat, 0x14A0000, 11648K,