Skip to content

[0.16-dev] [0.15.x-dev] bootloader offsets only correct for esp32 and esp32-s2 #5064

@softhack007

Description

@softhack007

const size_t BOOTLOADER_OFFSET = 0x1000;

The current code does not include correct bootloader offsets for all MCUs.

According to https://github.com/espressif/arduino-esp32/blob/5521e02627fa6909818d7d12657b59814a506198/tools/pioarduino-build.py#L217-L219

board bootloader offset
esp32 0x1000
esp32-S2 0x1000
esp32-S3 0x0000
esp32-C3 0x0000
upcoming boards
esp32-C5 0x2000
esp32-P4 0x2000
esp32-C6 0x0000

affects PRs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationIncorrect configuration or configuration related issue.hardware(Likely) Setup-specific issue, e.g. flickering LEDs

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions