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

Initialisation descriptor for ra8_ota_init. More...

#include <ra8_ota.h>

Collaboration diagram for ra8_ota_cfg_t:

Data Fields

char manifest_url [k_ra8_ota_url_max_bytes]
 HTTPS URL of the manifest JSON.
uint32_t pubkey_handle
 Opaque handle to the trusted ECDSA public key.
ra8_ota_progress_cb_t on_progress
 Progress callback (NULL == disabled).
ra8_ota_net_iface_t net
 Network HTTPS interface (must be fully populated).
ra8_ota_crypto_iface_t crypto
 Crypto interface (must be fully populated).
ra8_ota_flash_iface_t flash
 Flash backend (must be fully populated).
bool run_as_thread
 true => spawn the static ThreadX worker thread.

Detailed Description

Initialisation descriptor for ra8_ota_init.

Aggregates every dependency the OTA module needs at run-time: the manifest URL, the public-key handle, the three injected interfaces, and the optional ThreadX worker selection.

Definition at line 258 of file ra8_ota.h.

Field Documentation

◆ crypto

ra8_ota_crypto_iface_t ra8_ota_cfg_t::crypto

Crypto interface (must be fully populated).

Definition at line 272 of file ra8_ota.h.

Referenced by app_make_cfg(), and internal_validate_cfg_crypto().

◆ flash

ra8_ota_flash_iface_t ra8_ota_cfg_t::flash

Flash backend (must be fully populated).

Definition at line 275 of file ra8_ota.h.

Referenced by app_make_cfg(), and internal_validate_cfg_flash().

◆ manifest_url

char ra8_ota_cfg_t::manifest_url[k_ra8_ota_url_max_bytes]

HTTPS URL of the manifest JSON.

NUL-terminated.

Definition at line 260 of file ra8_ota.h.

Referenced by app_make_cfg(), and priv_ota_validate_cfg().

◆ net

ra8_ota_net_iface_t ra8_ota_cfg_t::net

Network HTTPS interface (must be fully populated).

Definition at line 269 of file ra8_ota.h.

Referenced by app_make_cfg(), and internal_validate_cfg_net().

◆ on_progress

ra8_ota_progress_cb_t ra8_ota_cfg_t::on_progress

Progress callback (NULL == disabled).

Definition at line 266 of file ra8_ota.h.

◆ pubkey_handle

uint32_t ra8_ota_cfg_t::pubkey_handle

Opaque handle to the trusted ECDSA public key.

Definition at line 263 of file ra8_ota.h.

Referenced by app_make_cfg().

◆ run_as_thread

bool ra8_ota_cfg_t::run_as_thread

true => spawn the static ThreadX worker thread.

Definition at line 278 of file ra8_ota.h.


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