platformio / platformio/platformio-docs
How can I change the default partition table offset (0x8000) in PlatformIO?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 285
- Forks
- 357
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to move the partition table to a different flash address (e.g., 0x50000) instead of the default 0x8000. I know I can set board_build.partitions to a custom CSV, but I also need to change the actual offset where PlatformIO expects the partition table to be flashed. I tried setting board_build.partitions_offset = 0x50000 in platformio.ini, but it seems this value is ignored during build.
Is there a supported way to change the partition offset in PlatformIO, or any workaround for this?
Regards.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the platformio.ini settings mentioned in the issue and trace how board_build.partitions is handled during the build. Check whether partitions_offset is supported or ignored, then document the supported configuration or workaround; done means the offset behavior and required settings are clear to users.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation, tooling
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100