Skip to content

Commit

Permalink
Update partition scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
realcharmer committed Jun 17, 2024
1 parent f17b3a2 commit fe3504b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/getting-started/project-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ This is the configuration of the PlatformIO framework, such as the hardware plat
### partitions.csv

```ini
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000
app0, app, factory, 0x10000, 0x3C0000
spiffs, data, spiffs, 0x3D0000, 0x30000
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x200000,
spiffs, data, spiffs, 0x210000, 0x1E0000,
coredump, data, coredump, 0x3F0000, 0x10000,
```

This file is needed for the prototype boards, since they are using only 4MB of flash. This results in issues with larger firmwares. It reconfigures the partition scheme of the entire flash memory to expand the space for the firmware itself. Sadly, this change disables OTA (Over-the-air) updates.
Expand Down

0 comments on commit fe3504b

Please sign in to comment.