fix(bootloader_support): Add missing c linkage to some headers

Merges https://github.com/espressif/esp-idf/pull/13890
This commit is contained in:
andylinpersonal
2024-06-01 23:48:58 +08:00
committed by Konstantin Kondrashov
parent 13e5b6f335
commit 100f23a1c1
8 changed files with 65 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2018-2021 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2018-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -8,6 +8,10 @@
#include "esp_err.h"
#include "esp_image_format.h"
#ifdef __cplusplus
extern "C" {
#endif
/**@{*/
/**
* @brief labels from bootloader linker script: bootloader.ld
@@ -49,3 +53,7 @@ void bootloader_print_banner(void);
* ESP_FAIL - If the setting is not successful.
*/
esp_err_t bootloader_init(void);
#ifdef __cplusplus
}
#endif