rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
wa_run_t Struct Reference

Data Fields

const wa_http_t * http
uint32_t(*) now (void *ctx)
bool(*) stopped (void *ctx)
void(*) report (void *ctx, wa_phase_t ph, uint32_t done, uint32_t total)
uint8_t *(*) alloc (void *ctx, uint32_t bytes)
void * ctx
uint32_t start_ms
uint32_t budget_ms
uint32_t slot
fw_version_t running
bool running_ok
wa_channel_t channel
char * url
char * loc
uint8_t * io
uint32_t io_cap
char * sums
fw_upload_t * up

Field Documentation

◆ alloc

uint8_t *(*) wa_run_t::alloc(void *ctx, uint32_t bytes)

A buffer of bytes for the image, in PSRAM on the panel; NULL for none. The runner keeps it in up; the platform frees it.

◆ budget_ms

uint32_t wa_run_t::budget_ms

from start_ms

◆ channel

wa_channel_t wa_run_t::channel

CHECK

◆ io

uint8_t* wa_run_t::io

a read's piece

◆ loc

char* wa_run_t::loc

FW_REL_URL_MAX + 1 bytes

◆ report

void(*) wa_run_t::report(void *ctx, wa_phase_t ph, uint32_t done, uint32_t total)

A phase begun, and the image's bytes so far; may be NULL.

◆ running_ok

bool wa_run_t::running_ok

running parsed from the build's version

◆ slot

uint32_t wa_run_t::slot

the largest image taken, in bytes

◆ start_ms

uint32_t wa_run_t::start_ms

the job's

◆ stopped

bool(*) wa_run_t::stopped(void *ctx)

Whether the job has been ended from outside; asked between steps.

◆ sums

char* wa_run_t::sums

FW_REL_SUMS_MAX bytes

◆ up

fw_upload_t* wa_run_t::up

DOWNLOAD: the image, staged on success

◆ url

char* wa_run_t::url

FW_REL_URL_MAX + 1 bytes


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