ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_c6link_fw_version Struct Reference

Identity the co-processor reports about itself. More...

#include <ra8_c6link.h>

Data Fields

uint32_t major
 Firmware major version.
uint32_t minor
 Firmware minor version.
uint32_t patch
 Firmware patch version.
uint32_t chip_id
 Co-processor chip identifier.
char target [16]
 CONFIG_IDF_TARGET, NUL-terminated.
uint8_t target_len
 Characters in target, excluding the NUL.

Detailed Description

Identity the co-processor reports about itself.

Filled by ra8_c6link_fw_version. The version is the host/co-processor version lock: this host is built against a pinned esp-hosted commit, and a co-processor running a different one may encode a message differently.

Invariant
target_len never exceeds the capacity of target.
chip_id is the co-processor's CONFIG_IDF_FIRMWARE_CHIP_ID; 0x0D is the ESP32-C6 this board carries.
Example:
if (ra8_c6link_fw_version(&link, &fw) == k_ra8_ok) { use(fw.major); }
@ k_ra8_ok
Success – operation completed with all postconditions satisfied.
Definition ra8_err.h:119
See also
ra8_c6link_fw_version
Since
0.1.0

Definition at line 224 of file ra8_c6link.h.

Field Documentation

◆ chip_id

uint32_t ra8_c6link_fw_version::chip_id

Co-processor chip identifier.

Definition at line 228 of file ra8_c6link.h.

Referenced by c6_join_phase_ready(), c6_wifi_phase_identity(), and internal_c6link_take_fw().

◆ major

uint32_t ra8_c6link_fw_version::major

Firmware major version.

Definition at line 225 of file ra8_c6link.h.

Referenced by c6_join_phase_ready(), c6_wifi_phase_identity(), internal_c6_cam_prepare_link(), and internal_c6link_take_fw().

◆ minor

uint32_t ra8_c6link_fw_version::minor

Firmware minor version.

Definition at line 226 of file ra8_c6link.h.

Referenced by c6_join_phase_ready(), c6_wifi_phase_identity(), internal_c6_cam_prepare_link(), and internal_c6link_take_fw().

◆ patch

uint32_t ra8_c6link_fw_version::patch

Firmware patch version.

Definition at line 227 of file ra8_c6link.h.

Referenced by c6_join_phase_ready(), c6_wifi_phase_identity(), internal_c6_cam_prepare_link(), and internal_c6link_take_fw().

◆ target

char ra8_c6link_fw_version::target[16]

CONFIG_IDF_TARGET, NUL-terminated.

Definition at line 229 of file ra8_c6link.h.

Referenced by c6_wifi_phase_identity(), and internal_c6link_take_fw().

◆ target_len

uint8_t ra8_c6link_fw_version::target_len

Characters in target, excluding the NUL.

Definition at line 230 of file ra8_c6link.h.

Referenced by c6_wifi_phase_identity(), and internal_c6link_take_fw().


The documentation for this struct was generated from the following file: