Files
typewriter/firmware/partitions.csv
Julien Calixte 4441618d0f feat(firmware): add flash-FAT storage partition table
16 MB layout adding a `storage` FAT data partition for the on-device git
working copy. Applied only by `just flash-git-push` (espflash
--partition-table); the editor flash keeps its default single-app layout.
2026-07-06 00:18:00 +02:00

1001 B

1# Typoena partition table — 16 MB flash (ESP32-S3-WROOM-1-N16R8).
2#
3# Adds a `storage` data partition of subtype `fat` so the on-device git working
4# copy (Spike 7) lives on flash-FAT: `esp_vfs_fat_spiflash_mount_rw_wl` finds it
5# by the label below and mounts it at /spiflash.
6#
7# esp-idf-rs does NOT compile this table (it builds `libespidf` as a static lib,
8# not a full app project) — espflash applies it at flash time via
9# `--partition-table partitions.csv`. Only `just flash-git-push` passes that flag,
10# so the editor flash is unaffected and keeps its default single-app layout.
11#
12# factory is 3 MB — generous headroom for the libgit2-linked binary (the editor
13# is ~1 MB; git_push adds Wi-Fi + FAT + libgit2). storage is 4 MB. Total ~7.4 MB.
14#
15# Name, Type, SubType, Offset, Size, Flags
16nvs, data, nvs, 0x9000, 0x6000,
17phy_init, data, phy, 0xf000, 0x1000,
18factory, app, factory, 0x10000, 0x300000,
19storage, data, fat, 0x310000, 0x400000,