circuitpython/ports/esp32/partitions-ota.csv
Thorsten von Eicken 952ff8a8ea esp32: Improve support for OTA updates.
This commit adds several small items to improve the support for OTA
updates on an esp32:

- a partition table for 4MB flash modules that has two OTA partitions ready
  to go to do updates
- a GENERIC_OTA board that uses that partition table and that enables
  automatic roll-back in the bootloader
- a new esp32.Partition.mark_app_valid_cancel_rollback() class-method to
  signal that the boot is successful and should not be rolled back at the
  next reset
- an automated test for doing an OTA update
- documentation updates
2020-05-03 15:00:45 +10:00

489 B

1# Partition table for MicroPython with OTA support using 4MB flash
2# Name, Type, SubType, Offset, Size, Flags
3# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
4nvs, data, nvs, 0x9000, 0x4000,
5otadata, data, ota, 0xd000, 0x2000,
6phy_init, data, phy, 0xf000, 0x1000,
7ota_0, app, ota_0, 0x10000, 0x180000,
8ota_1, app, ota_1, 0x190000, 0x180000,
9vfs, data, fat, 0x310000, 0x0f0000,