ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
esp_err.h
Go to the documentation of this file.
1
72
73#pragma once
74
75#include <stdint.h>
76
77/* The type and enumerator spellings below are fixed by ESP-IDF: the vendored
78 core declares functions with them, compares against them and forwards them
79 to the co-processor, so they cannot take this project's k_ prefix or its
80 lower_case typedef convention. clang-tidy's naming rule is suppressed across
81 the block, following the ThreadX shim precedent in libs/ra8_wdt_supervisor
82 and the sibling esp_log.h. */
83/* NOLINTBEGIN(readability-identifier-naming) -- ESP-IDF-fixed spellings. */
84
98typedef int esp_err_t;
99
137typedef enum : int32_t {
138 /* Reached by the vendored core today. */
139 ESP_OK = 0,
140 ESP_FAIL = -1,
141
149
150 /* Defined for completeness of ESP-IDF's contiguous block; see @details. */
158
159/* NOLINTEND(readability-identifier-naming) */
160
179#define ESP_ERR_ESP_NETIF_NO_MEM (0x5006)
180
204#define ESP_ERR_ESP_NETIF_TX_FAILED (0x500E)
esp_err_code_t
ESP-IDF's general error codes, with ESP-IDF's numeric values.
Definition esp_err.h:137
@ ESP_ERR_TIMEOUT
The operation did not finish in time.
Definition esp_err.h:148
@ ESP_ERR_NOT_ALLOWED
Refused by policy, not by state.
Definition esp_err.h:156
@ ESP_ERR_INVALID_SIZE
A length or buffer size was rejected.
Definition esp_err.h:145
@ ESP_ERR_INVALID_CRC
A checksum did not verify.
Definition esp_err.h:152
@ ESP_ERR_INVALID_STATE
Legal call, wrong moment to make it.
Definition esp_err.h:144
@ ESP_OK
Success.
Definition esp_err.h:139
@ ESP_ERR_INVALID_VERSION
Version field was not understood.
Definition esp_err.h:153
@ ESP_ERR_INVALID_RESPONSE
Reply was malformed or unexpected.
Definition esp_err.h:151
@ ESP_ERR_INVALID_MAC
MAC address was malformed.
Definition esp_err.h:154
@ ESP_ERR_NO_MEM
Allocation failed.
Definition esp_err.h:142
@ ESP_ERR_NOT_SUPPORTED
The co-processor image lacks this.
Definition esp_err.h:147
@ ESP_ERR_NOT_FOUND
The requested item does not exist.
Definition esp_err.h:146
@ ESP_ERR_NOT_FINISHED
Partial result; call again.
Definition esp_err.h:155
@ ESP_FAIL
Generic failure with no more specific code available.
Definition esp_err.h:140
@ ESP_ERR_INVALID_ARG
A parameter was out of range or null.
Definition esp_err.h:143
int esp_err_t
Result of an esp-hosted call: zero on success, non-zero otherwise.
Definition esp_err.h:98