fix(esp_bootloader_format): Remove bootloader description from app build

The removed function `esp_bootloader_get_description` never worked in the app build.
It can be used only in the bootloader build.

To read the bootloader description from app, there is another function
`esp_ota_get_bootloader_description`.
This commit is contained in:
Konstantin Kondrashov
2026-07-10 12:17:59 +03:00
parent 4eaa03abf5
commit 8913d4cf61
4 changed files with 12 additions and 4 deletions
@@ -119,6 +119,7 @@ void bootloader_enable_random(void)
void bootloader_print_banner(void)
{
#if BOOTLOADER_BUILD
if (CONFIG_BOOTLOADER_LOG_LEVEL >= ESP_LOG_INFO) {
const esp_bootloader_desc_t *desc = esp_bootloader_get_description();
ESP_EARLY_LOGI(TAG, "ESP-IDF %s 2nd stage bootloader", desc->idf_ver);
@@ -126,6 +127,7 @@ void bootloader_print_banner(void)
ESP_EARLY_LOGI(TAG, "compile time %s", desc->date_time);
#endif
}
#endif // BOOTLOADER_BUILD
#if CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE
#if (SOC_CPU_CORES_NUM > 1)