|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
ESP-IDF-compatible check surface: the include, and nothing it does not need. More...
Go to the source code of this file.
ESP-IDF-compatible check surface: the include, and nothing it does not need.
The vendored esp-hosted core includes esp_check.h by name from exactly one translation unit, host/api/src/esp_hosted_api.c. This project does not vendor ESP-IDF, so the name has to resolve to something – and this file is that something.
What the include does need to supply is the two headers ESP-IDF's version pulls in and its users lean on transitively: esp_err.h for esp_err_t and the ESP_OK / ESP_ERR_* codes, and esp_log.h for the ESP_LOGx spellings and for ESP_ERROR_CHECK, which this port keeps beside its logger. Both are included below, so the one vendored consumer sees the same set of names it would see on ESP-IDF.
Definition in file esp_check.h.