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