|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
The ESP-IDF API level the co-processor image was built against. More...
Go to the source code of this file.
Macros | |
| #define | ESP_IDF_VERSION_VAL(major, minor, patch) |
| Pack a major.minor.patch triple into one comparable integer. | |
| #define | ESP_IDF_VERSION_MAJOR (5) |
| Major component of the co-processor image's ESP-IDF version. | |
| #define | ESP_IDF_VERSION_MINOR (5) |
| Minor component of the co-processor image's ESP-IDF version. | |
| #define | ESP_IDF_VERSION_PATCH (4) |
| Patch component of the co-processor image's ESP-IDF version. | |
| #define | ESP_IDF_VERSION ESP_IDF_VERSION_VAL(ESP_IDF_VERSION_MAJOR, ESP_IDF_VERSION_MINOR, ESP_IDF_VERSION_PATCH) |
| The co-processor image's ESP-IDF version as one comparable integer. | |
The ESP-IDF API level the co-processor image was built against.
The vendored esp-hosted core compiles itself differently depending on the ESP-IDF it is built against, and it asks with #if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 5, 0) in common/rpc/esp_hosted_bitmasks.h. On ESP-IDF that question is answered by the framework's own header; here it is answered by this file.
Definition in file esp_idf_version.h.
| #define ESP_IDF_VERSION ESP_IDF_VERSION_VAL(ESP_IDF_VERSION_MAJOR, ESP_IDF_VERSION_MINOR, ESP_IDF_VERSION_PATCH) |
The co-processor image's ESP-IDF version as one comparable integer.
ESP_IDF_VERSION_VAL(5, 5, 4). This is the symbol the vendored esp_hosted_bitmasks.h compares, and it is built from the three components above rather than restating them, so the four cannot drift apart.
Definition at line 144 of file esp_idf_version.h.
| #define ESP_IDF_VERSION_MAJOR (5) |
Major component of the co-processor image's ESP-IDF version.
Five, from ESP_IDF_VERSION=v5.5.4 in coprocessor/esp32c6/pins.env.
Definition at line 90 of file esp_idf_version.h.
| #define ESP_IDF_VERSION_MINOR (5) |
Minor component of the co-processor image's ESP-IDF version.
Five. This is the component that matters most to the vendored core: the only two version tests in the tree both ask whether the build is older than 5.5, and at 5.5 both take the newer branch.
Definition at line 108 of file esp_idf_version.h.
| #define ESP_IDF_VERSION_PATCH (4) |
Patch component of the co-processor image's ESP-IDF version.
Four. No vendored test inspects the patch level; it is recorded so this header states the whole pin rather than the part currently consulted.
Definition at line 124 of file esp_idf_version.h.
| #define ESP_IDF_VERSION_VAL | ( | major, | |
| minor, | |||
| patch ) |
Pack a major.minor.patch triple into one comparable integer.
Byte-packed exactly as ESP-IDF packs it, so a comparison written against upstream's macro keeps upstream's meaning. Every operand is parenthesised and the whole expression is parenthesised, which is what lets it be used inside an #if and be compared against ESP_IDF_VERSION with no surprises from operator precedence.
| [in] | major | Major version number, 0..255. |
| [in] | minor | Minor version number, 0..255. |
| [in] | patch | Patch version number, 0..255. |
Definition at line 73 of file esp_idf_version.h.