45 lines
1.5 KiB
C
45 lines
1.5 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("ulp_fsm_common.h")
|
|
#include "ulp_fsm_common.h"
|
|
#endif
|
|
|
|
#ifdef CONFIG_ESP_ERR_TO_NAME_LOOKUP
|
|
|
|
// Force-link symbol for ulp error codes
|
|
const int esp_err_msg_ulp_include = 0;
|
|
|
|
static const esp_err_msg_t esp_err_msg_ulp[]
|
|
PLACE_IN_SECTION("esp_err_msg_tbl") = {
|
|
#ifdef ESP_ERR_ULP_BASE
|
|
{ ESP_ERR_ULP_BASE, "ESP_ERR_ULP_BASE" }, /* Offset for ULP-related error codes */
|
|
#endif
|
|
#ifdef ESP_ERR_ULP_SIZE_TOO_BIG
|
|
{ ESP_ERR_ULP_SIZE_TOO_BIG, "ESP_ERR_ULP_SIZE_TOO_BIG" }, /* Program doesn't fit into RTC memory reserved for the ULP */
|
|
#endif
|
|
#ifdef ESP_ERR_ULP_INVALID_LOAD_ADDR
|
|
{ ESP_ERR_ULP_INVALID_LOAD_ADDR, "ESP_ERR_ULP_INVALID_LOAD_ADDR" }, /* Load address is outside of RTC memory reserved for the ULP */
|
|
#endif
|
|
#ifdef ESP_ERR_ULP_DUPLICATE_LABEL
|
|
{ ESP_ERR_ULP_DUPLICATE_LABEL, "ESP_ERR_ULP_DUPLICATE_LABEL" }, /* More than one label with the same number was defined */
|
|
#endif
|
|
#ifdef ESP_ERR_ULP_UNDEFINED_LABEL
|
|
{ ESP_ERR_ULP_UNDEFINED_LABEL, "ESP_ERR_ULP_UNDEFINED_LABEL" }, /* Branch instructions references an undefined label */
|
|
#endif
|
|
#ifdef ESP_ERR_ULP_BRANCH_OUT_OF_RANGE
|
|
{ ESP_ERR_ULP_BRANCH_OUT_OF_RANGE, "ESP_ERR_ULP_BRANCH_OUT_OF_RANGE" }, /* Branch target is out of range of B instruction (try replacing with BX) */
|
|
#endif
|
|
};
|
|
|
|
#endif // CONFIG_ESP_ERR_TO_NAME_LOOKUP
|