mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-04 14:26:31 +02:00
IDF master c13afea63 (#5214)
esp-dsp: master 7cc5073 esp-face: master 420fc7e esp-rainmaker: f1b82c7 esp32-camera: master 6f8489e esp_littlefs: master b58f00c
This commit is contained in:
@ -104,6 +104,19 @@ void esp_core_dump_to_uart(panic_info_t *info);
|
||||
/*********************************** USER MODE API ************************************/
|
||||
/**************************************************************************************/
|
||||
|
||||
/**
|
||||
* @brief Check integrity of coredump data in flash.
|
||||
* This function reads the coredump data while calculating their checksum. If it
|
||||
* doesn't match the checksum written on flash, it means data are corrupted,
|
||||
* an error will be returned. Else, ESP_OK is returned.
|
||||
*
|
||||
* @return `ESP_OK` if core dump is present and valid, `ESP_ERR_NOT_FOUND` if no core dump
|
||||
* is stored in the partition, `ESP_ERR_INVALID_SIZE` or `ESP_ERR_INVALID_CRC`
|
||||
* if the core dump is corrupted, other errors when unable to access flash, in that
|
||||
* case please refer to \see esp_err_t
|
||||
*/
|
||||
esp_err_t esp_core_dump_image_check(void);
|
||||
|
||||
/**
|
||||
* @brief Retrieves address and size of coredump data in flash.
|
||||
* This function is always available, even when core dump is disabled in menuconfig.
|
||||
|
Reference in New Issue
Block a user