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-09 13:28:19 +03:00
parent 4eaa03abf5
commit 8913d4cf61
4 changed files with 12 additions and 4 deletions

View File

@@ -36,6 +36,7 @@ typedef struct {
ESP_STATIC_ASSERT(sizeof(esp_bootloader_desc_t) == 80, "esp_bootloader_desc_t should be 80 bytes");
/** @endcond */
#if BOOTLOADER_BUILD
/**
* @brief Return esp_bootloader_desc structure.
*
@@ -43,6 +44,7 @@ ESP_STATIC_ASSERT(sizeof(esp_bootloader_desc_t) == 80, "esp_bootloader_desc_t sh
* @return Pointer to esp_bootloader_desc structure.
*/
const esp_bootloader_desc_t *esp_bootloader_get_description(void);
#endif // BOOTLOADER_BUILD
#ifdef __cplusplus
}