Files
micropython/ports/esp32/partitions-4MiB-romfs.csv
Damien George 0255cb77cc esp32: Implement vfs.rom_ioctl with support for external flash.
Not enabled by default on any board.  For a board to enable ROMFS it must:

- Add `#define MICROPY_VFS_ROM (1)` to its `mpconfigboard.h` file.

- Use `partitions-4MiB-romfs.csv` as its partitions file (or a similar
  partitions definition that has an entry labelled "romfs").

Signed-off-by: Damien George <damien@micropython.org>
2025-03-06 12:52:35 +11:00

381 B

1# Notes: the offset of the partition table itself is set in
2# $IDF_PATH/components/partition_table/Kconfig.projbuild.
3# Name, Type, SubType, Offset, Size, Flags
4nvs, data, nvs, 0x9000, 0x6000,
5phy_init, data, phy, 0xf000, 0x1000,
6factory, app, factory, 0x10000, 0x1D0000,
7romfs, data, 0x8f, 0x1E0000, 0x20000,
8vfs, data, fat, 0x200000, 0x200000,