mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
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>
381 B
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 |
| 4 | nvs, data, nvs, 0x9000, 0x6000, |
| 5 | phy_init, data, phy, 0xf000, 0x1000, |
| 6 | factory, app, factory, 0x10000, 0x1D0000, |
| 7 | romfs, data, 0x8f, 0x1E0000, 0x20000, |
| 8 | vfs, data, fat, 0x200000, 0x200000, |