ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
alphabet_soup_cli_internal.h
Go to the documentation of this file.
1
9
10#pragma once
11
12#include <stddef.h>
13#include <stdint.h>
14
15#include "fw_if_fs_types.h"
16#include "ra8_attributes.h"
17#include "ra8_err.h"
18
19RA8_PRIV [[nodiscard]] ra8_err_t priv_alphabet_soup_split_path(const char* filepath,
20 char* out_root,
21 size_t root_cap,
22 char* out_leaf,
23 size_t leaf_cap);
24
26 uint8_t* buffer,
27 uint32_t capacity,
28 uint32_t* out_size);
29
30RA8_PRIV [[nodiscard]] ra8_err_t priv_alphabet_soup_load_file_contents(const char* filepath,
31 uint8_t* out_buf,
32 uint32_t buf_cap,
33 uint32_t* out_len);
ra8_err_t priv_alphabet_soup_read_all(fw_fs_file_t *file, uint8_t *buffer, uint32_t capacity, uint32_t *out_size)
ra8_err_t priv_alphabet_soup_load_file_contents(const char *filepath, uint8_t *out_buf, uint32_t buf_cap, uint32_t *out_len)
ra8_err_t priv_alphabet_soup_split_path(const char *filepath, char *out_root, size_t root_cap, char *out_leaf, size_t leaf_cap)
Portable filesystem value types and caller-owned opaque handles.
Annotation-attribute framework macros for ra8-firmware.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Definition ra8_err.h:546
Caller-owned open file; fields are private to the facade.