Skip to content

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

@AlirezaAbdiyan

Description

@AlirezaAbdiyan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions