platformio / platformio/platformio-docs

How can I change the default partition table offset (0x8000) in PlatformIO?

Open
#383 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.