Z_GENERIC_SECTION(.ext_apis_req) \
const uint8_t _CONCAT(var_name, _ext_api_req_counter) = 0xFF; \
__noinit const struct __packed \
{ \
type ext_api; \
} *var_name; \
Z_GENERIC_SECTION(.firmware_info.2) \
__attribute__((used)) \
{ \
.request = {\
.magic = {EXT_API_MAGIC}, \
.ext_api_id = CONFIG_ ## name ## _EXT_API_ID, \
.ext_api_flags = CONFIG_ ## name ## _EXT_API_FLAGS, \
.ext_api_version = CONFIG_ ## name ## _EXT_API_VER, \
}, \
.required = req, \
.ext_api = (void *) &var_name, \
}
uint32_t ext_api_max_version
Definition fw_info_bare.h:105
Definition fw_info_bare.h:98
Definition fw_info_bare.h:42