Skip to content

Supporting direct boot bare metal applications (no esp-idf) #53

@MabezDev

Description

@MabezDev

It's great that espflash has support for existing idf applications/bootloaders/partition tables; however in recent chips there is support for the direct boot feature (read more here: https://github.com/espressif/esp32c3-direct-boot-example) which espflash currently does not support.

To fix this the following functionality should be able to be toggled on/off based on the type of application:

  • Using the FirmwareImage format, direct boot won't work with this format we should instead just flash the loadable sections as is.
  • flashing the partition table
  • flashing the 2nd stage bootloader

Perhaps the toggle could simply be --format idf|raw defaulting to one or the other.

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