Browse Source
The current CMakeLists.txt uses hardcoded flash addresses for the bootloader and application, which may not match the slot defined in the DTS file. This can lead to inconsistencies when flashing and running images. This update introduces support for using CONFIG_FLASH_LOAD_OFFSET and applies CONFIG_BUILD_OUTPUT_ADJUST_LMA if specified, ensuring that the final image address aligns with the DTS and runtime expectations. Note: For ESP32-C6, a custom workaround is included since the LPCORE does not support MCUboot images. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>pull/91972/head
4 changed files with 21 additions and 17 deletions
Loading…
Reference in new issue