Skip to content

Commit

Permalink
Merge branch 'bugfix/c++_usage_esp_core_dump_h' into 'master'
Browse files Browse the repository at this point in the history
Fixed c++ include usage for esp_core_dump.h

Closes IDFGH-4782

See merge request espressif/esp-idf!12432
  • Loading branch information
projectgus committed Feb 24, 2021
2 parents 26be097 + e5c460e commit c179ece
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 8 additions & 0 deletions components/espcoredump/include/esp_core_dump.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
#include "esp_err.h"
#include "esp_private/panic_internal.h"

#ifdef __cplusplus
extern "C" {
#endif

/**************************************************************************************/
/******************************** EXCEPTION MODE API **********************************/
/**************************************************************************************/
Expand Down Expand Up @@ -85,4 +89,8 @@ void esp_core_dump_to_uart(panic_info_t *info);
*/
esp_err_t esp_core_dump_image_get(size_t* out_addr, size_t *out_size);

#ifdef __cplusplus
}
#endif

#endif
2 changes: 0 additions & 2 deletions tools/ci/check_public_headers_exceptions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ components/wpa_supplicant/port/
components/mbedtls/port/include/
components/mbedtls/mbedtls/include/mbedtls/

components/espcoredump/include/esp_core_dump.h

components/coap/
components/nghttp/
components/cbor/
Expand Down

0 comments on commit c179ece

Please sign in to comment.