https://github.com/becem-gharbi/esp-flash-partitioner
A utility to easily generate partition table for ESP32
https://github.com/becem-gharbi/esp-flash-partitioner
esp32 partitions utility
Last synced: 15 days ago
JSON representation
A utility to easily generate partition table for ESP32
- Host: GitHub
- URL: https://github.com/becem-gharbi/esp-flash-partitioner
- Owner: becem-gharbi
- License: mit
- Created: 2023-05-11T12:21:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-15T06:59:49.000Z (almost 3 years ago)
- Last Synced: 2025-02-23T09:29:27.853Z (over 1 year ago)
- Topics: esp32, partitions, utility
- Language: Vue
- Homepage: https://esp-flash-partitioner.vercel.app
- Size: 890 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ESP Flash Partitioner
A utility to easily generate partition table for ESP32 microcontrollers.
## Rules
The rules used to compute the partition table is based on Espressif [docs](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html):
- First partition should start at 36K offset
- Name field should be less than 16 bytes including Null terminator
- Type field can either be `app` or `data`
- Partition of type `app` should be multiple of 64K
- When OTA enabled at least 2 OTA `app` partitions should be defined
- OTA `app` partitions should have the same size
- OTA `data` partition should be 8K
- NVS `data` partition should be between 12K and 64K
- NVS_KEYS `data` partition should be 4K
- Coredump `data` partition should be 64K
- The offset field should be multiple of 4K
- The size field should be multiple of 4K
- The offset field for partitions of type `app` should be multiple of 64K
- The size & offset fields can be specified as decimal with prefix multiplier K
- Flags can either be empty string or `encrypted`
- Partitions of type `app` are always encrypted
## Development Server
Start the development server on http://localhost:3000
```bash
npm run dev
```
## Production
Build the application for production:
```bash
npm run build
```
Locally preview production build:
```bash
npm run preview
```
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.