51 lines
1.8 KiB
C
51 lines
1.8 KiB
C
/*
|
|
* SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
// Auto-generated by err_codes_to_c.py — do not edit
|
|
|
|
#include "esp_err.h"
|
|
#include "esp_err_msg.h"
|
|
#include "esp_attr.h"
|
|
|
|
#if __has_include("esp_efuse.h")
|
|
#include "esp_efuse.h"
|
|
#endif
|
|
|
|
#ifdef CONFIG_ESP_ERR_TO_NAME_LOOKUP
|
|
|
|
// Force-link symbol for efuse error codes
|
|
const int esp_err_msg_efuse_include = 0;
|
|
|
|
static const esp_err_msg_t esp_err_msg_efuse[]
|
|
PLACE_IN_SECTION("esp_err_msg_tbl") = {
|
|
#ifdef ESP_ERR_EFUSE
|
|
{ ESP_ERR_EFUSE, "ESP_ERR_EFUSE" }, /* Base error code for efuse api. */
|
|
#endif
|
|
#ifdef ESP_OK_EFUSE_CNT
|
|
{ ESP_OK_EFUSE_CNT, "ESP_OK_EFUSE_CNT" }, /* OK the required number of bits is set. */
|
|
#endif
|
|
#ifdef ESP_ERR_EFUSE_CNT_IS_FULL
|
|
{ ESP_ERR_EFUSE_CNT_IS_FULL, "ESP_ERR_EFUSE_CNT_IS_FULL" }, /* Error field is full. */
|
|
#endif
|
|
#ifdef ESP_ERR_EFUSE_REPEATED_PROG
|
|
{ ESP_ERR_EFUSE_REPEATED_PROG, "ESP_ERR_EFUSE_REPEATED_PROG" }, /* Error repeated programming of programmed bits is strictly forbidden. */
|
|
#endif
|
|
#ifdef ESP_ERR_CODING
|
|
{ ESP_ERR_CODING, "ESP_ERR_CODING" }, /* Error while a encoding operation. */
|
|
#endif
|
|
#ifdef ESP_ERR_NOT_ENOUGH_UNUSED_KEY_BLOCKS
|
|
{ ESP_ERR_NOT_ENOUGH_UNUSED_KEY_BLOCKS, "ESP_ERR_NOT_ENOUGH_UNUSED_KEY_BLOCKS" }, /* Error not enough unused key blocks available */
|
|
#endif
|
|
#ifdef ESP_ERR_DAMAGED_READING
|
|
{ ESP_ERR_DAMAGED_READING, "ESP_ERR_DAMAGED_READING" }, /* Error. Burn or reset was done during a reading operation leads to damage read data. This error is internal to the efuse component and not returned by any public API. */
|
|
#endif
|
|
#ifdef ESP_ERR_BURN_WR_DIS
|
|
{ ESP_ERR_BURN_WR_DIS, "ESP_ERR_BURN_WR_DIS" }, /* Error to burn WR_DIS field. */
|
|
#endif
|
|
};
|
|
|
|
#endif // CONFIG_ESP_ERR_TO_NAME_LOOKUP
|