|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Arm ethos-u-core-driver C API shim over the ra8_npu driver (RA8P1-only). More...
#include "ra8_device.h"Go to the source code of this file.
Typedefs | |
| typedef int | ra8_ethosu_shim_not_on_this_device_t |
Arm ethos-u-core-driver C API shim over the ra8_npu driver (RA8P1-only).
Implementation of the ra8_ethosu_shim.h contract. The whole translation unit is gated behind RA8_HAS_NPU so it compiles to nothing on the RA8D2 (which has no NPU) and is only built for the RA8P1 (-DRA8_DEVICE_RA8P1), mirroring ra8_npu.c. It touches NO hardware registers directly – every NPU access flows through the ra8_npu HAL, so this file carries no HUM / TRM citations.
The three functions provide exactly the Arm ethos-u-core-driver symbols TFLite-micro's Ethos-U operator kernel links against; see the header for how they map onto ra8_npu_init / ra8_npu_submit / ra8_npu_run / ra8_npu_wait.
Definition in file ra8_ethosu_shim.c.
| typedef int ra8_ethosu_shim_not_on_this_device_t |
Definition at line 236 of file ra8_ethosu_shim.c.