mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-13 04:42:01 +03:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user