Register-accurate peripheral-model framework for the board emulator.
board_device_t
The RA8 device the emulator models for this run.
bool emu_args_parse(int argc, char **argv, emu_args_t *out)
Parse the ra8_emulator command line into out (or print usage).
The chunked emulation run loop, report and exit-code mapping.
@ k_dump_sym_max
Max –dump-sym globals per run.
Function-entry seam glue + the –trace-sym instrument.
@ k_trace_sym_max
Max –trace-sym functions per run.
Annotation-attribute framework macros for ra8-firmware.
Every value the ra8_emulator CLI parse produces for the setup phase.
uint32_t stop_sym_thresh
–stop-sym stop threshold.
int click_x
–click column (-1 = unset).
const char * elf_path
Firmware ELF path (argv[1]).
const char * touch_seq_str
–touch-seq raw-point FIFO string.
int click_y
–click row (-1 = unset).
const char * stop_sym_name
–stop-sym watch global (NULL = off).
uint32_t trace_sym_n
Count of –trace-sym entries.
uint16_t view_w
Panel width in pixels.
uint32_t dump_sym_n
Count of –dump-sym entries.
const char * usb_in_str
–usb-in CDC bulk OUT string.
int battery_soc
–battery pct (-1 = model default).
bool usbhs_loop
–usbhs-loop chip-internal self-loop.
bool want_view
–view live window.
const char * panel_path
–panel descriptor path (NULL = none).
const char * trace_sym_names[k_trace_sym_max]
–trace-sym functions to log.
int button_press
–button: 1=SW1, 2=SW2, 0=none.
bool battery_opt
Any battery flag given.
const char * ns_elf_path
–ns second (NS) image path.
bool want_trace
–trace transition logging.
const char * save_sd_path
–save-sd dump path (NULL = off).
int reboot_count
–reboot N warm reboots.
uint16_t view_h
Panel height in pixels.
const char * dump_sym_names[k_dump_sym_max]
–dump-sym globals to read.
bool battery_charging
–charge given.
const char * record_dir
–record directory (NULL = off).
board_device_t emu_device
–device selected part (RA8D2 default).
bool size_set
–size given (wins over –panel).
const char * keys_str
–keys window-key path string.
const char * ppm_path
–ppm output path (NULL = off).
bool want_click
–click armed with valid coordinates.
uint32_t record_secs
–record-secs bound (0 = unbounded).
uint32_t rotate_deg
–rotate display rotation (0 default).
const char * input_str
–input console RX string.