Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AlirezaAbdiyan opened this issue Jun 7, 2025 · 0 comments

Comments

@AlirezaAbdiyan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant