Merge branch 'bugfix/fix_p4_bootlaoder_offset_in_flash' into 'master'

fix(esp_rom): fixed esp-rom not compiling in g0 build

See merge request espressif/esp-idf!48461
This commit is contained in:
Marius Vikhammer
2026-05-13 16:55:06 +08:00

View File

@@ -122,7 +122,7 @@ uint32_t esp_rom_get_bootloader_offset(void)
#if CONFIG_IDF_TARGET_ESP32P4 && CONFIG_ESP32P4_REV_MIN_FULL < 300
// For early revisions of ESP32-P4 does not recovery bootloader feature.
// Return the default bootloader offset.
return CONFIG_BOOTLOADER_OFFSET_IN_FLASH;
return ESP_ROM_BOOTLOADER_OFFSET_FLASH;
#else
static uint32_t offset_of_active_bootloader = UINT32_MAX;
if (offset_of_active_bootloader == UINT32_MAX) {