Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Minimal FAT12/FAT16/FAT32 filesystem adapter (read + write).
ra8_fs_type_t
FAT variant detected from the BPB cluster-count rule.
ra8_io – unified peripheral-agnostic I/O fabric (umbrella header).
ra8_err_t ra8_io_roundtrip_root_file(ra8_fs_mount_t *mnt, const ra8_io_roundtrip_params_t *p)
Whole-file write at the volume root, VFS read-back, and byte-compare.
ra8_err_t ra8_io_roundtrip_mount(ra8_io_blockdev_t *bd, const ra8_io_roundtrip_params_t *p, ra8_fs_backend_t *be, ra8_fs_mount_t **out_mount)
Bridge a bound block device to ra8_fs, format + mount FAT, VFS-register.
ra8_err_t ra8_io_roundtrip_subdir_file(const ra8_io_roundtrip_params_t *p)
mkdir a subdirectory via the VFS, then round-trip a nested file.
Block-device interface that ra8_fs runs on top of.
Cached parse of one mounted FAT volume.
Caller-allocated block-device handle binding a backend to its context.
Per-demo knobs for the shared ra8_io round-trip.
const char * volume_label
11-char-max FAT volume label literal.
const char * root_path
Full VFS path of the root file for read-back.
const char * subdir_path
Full VFS path of the directory to create.
ra8_fs_type_t fat_type
FAT variant laid down by the format step.
const char * root_file
Root file name for the whole-file write.
const char * log_tag
ra8_log tag used on every step failure.
const char * subdir_file
Full VFS path of the nested file.
const char * vfs_prefix
VFS volume name, e.g.
uint32_t subdir_bytes
Deterministic payload length in the subdir.
uint32_t root_bytes
Deterministic payload length at the root.