ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
main.c File Reference

HAL-based ESWM/COMA Ethernet media bring-up demo (issue #581). More...

#include <stddef.h>
#include <stdint.h>
#include "ra8_board_ek_ra8d2.h"
#include "ra8_boot_entry.h"
#include "ra8_cgc.h"
#include "ra8_err.h"
#include "ra8_eth.h"
#include "ra8_eth_coma.h"
#include "ra8_isr.h"
#include "ra8_mstp.h"
#include "ra8_mstp_regs.h"
#include "ra8_time.h"
Include dependency graph for main.c:

Go to the source code of this file.

Enumerations

enum  ehb_const_t : uint32_t { k_ehb_baud = 115200U }
 Console + demo knobs (no magic numbers). More...
enum  ehb_fmt_t : uint8_t {
  k_ehb_radix = 10U ,
  k_ehb_dec_u32_max = 10U
}
 Decimal-serialiser fields. More...

Functions

static void ehb_write (const uint8_t *data, uint32_t len)
 Write a byte span to the SCI8 console, discarding the status.
static void ehb_write_u32_line (uint32_t val)
 Log one unsigned 32-bit value as decimal ASCII plus CRLF.
static void ehb_panic_halt (void)
 Print the negative banner and park the CPU.
static void ehb_setup_or_halt (void)
 Bring up clocks, MSTP, SysTick and the SCI8 console; halt on failure.
static ra8_err_t ehb_run_once (void)
 Drive the ESWCLK + ESWM prerequisites, then the two ETH HAL primitives.
void main (void)
 The application entry point Reset_Handler hands control to.

Variables

static const uint8_t k_ehb_msg_boot [] = "eth-hal: boot\r\n"
static const uint8_t k_ehb_msg_eswclk [] = "eth-hal: eswclk_init rc="
static const uint8_t k_ehb_msg_mstp [] = "eth-hal: mstp_eswm rc="
static const uint8_t k_ehb_msg_coma [] = "eth-hal: coma_bringup rc="
static const uint8_t k_ehb_msg_rgmii [] = "eth-hal: rgmii_select rc="
static const uint8_t k_ehb_msg_pass [] = "eth-hal: bringup PASS\r\n"
static const uint8_t k_ehb_msg_fail [] = "eth-hal: bringup FAIL\r\n"
static const uint8_t k_ehb_msg_hw_fail [] = "eth-hal: hw_init_failed\r\n"
static const uint8_t k_ehb_msg_crlf [] = "\r\n"

Detailed Description

HAL-based ESWM/COMA Ethernet media bring-up demo (issue #581).

Tag
[Ring 6 / APP] {World: S}

Demonstrates the two chip-generic ETH HAL primitives extracted from the EK-RA8D2 board Ethernet bring-up (issue #581), driven directly instead of through ra8_board_ethernet_init:

  1. ra8_eth_coma_bringup – pulses COMA.RRC, enables the switch clock (RCEC.RCE), kicks the CABPIRM buffer-pool init and polls CABPIRM.BPR, then fans every per-agent clock out (RCEC.ACE[6:0]). Until this runs the per-port RMAC / ETHA register windows read back 0.
  2. ra8_eth_rgmii_select – selects RGMII on port 1's ESWM media mux (MIICR1 = TXCIDE | RGMII) and releases the per-port block reset (MIIRR.RGRST1 = 1). The EK-RA8D2 RJ45 is wired to RMAC1 / ETHA1.

The prerequisites the primitives document – ESWCLK up and the ESWM module-stop gate released – are established first via ra8_cgc_eswclk_init and ra8_mstp_enable(k_ra8_mstp_eswm). Each step's status code is narrated on the SCI8 J-Link VCOM console; the fixed verdict eth-hal: bringup PASS prints only when every call returned k_ra8_ok.

Kept ALONGSIDE examples/.../hil/eth_open_probe (which drives the full board bring-up + ra8_eth_open): this app is the minimal witness that the two extracted primitives compose on their own.

Note
hw_pending. eth is HW-blocked on silicon (the EK-RA8D2 Ethernet wire is marginal, issue #21), so this app is compile-gated and bench-only; it makes no claim of hardware validation. The COMA/RGMII register accesses are host-tested in tests/misc/src/test_ra8_eth_coma.c / tests/misc/src/test_ra8_eth.c.
Since
0.1.0

Definition in file main.c.

Enumeration Type Documentation

◆ ehb_const_t

enum ehb_const_t : uint32_t

Console + demo knobs (no magic numbers).

Enumerator
k_ehb_baud 

SCI8 J-Link VCOM console baud.

Definition at line 57 of file main.c.

◆ ehb_fmt_t

enum ehb_fmt_t : uint8_t

Decimal-serialiser fields.

Enumerator
k_ehb_radix 

Decimal serialiser radix.

k_ehb_dec_u32_max 

Max decimal digits for a uint32_t.

Definition at line 62 of file main.c.

Function Documentation

◆ ehb_panic_halt()

void ehb_panic_halt ( void )
static

Print the negative banner and park the CPU.

Mirrors the sibling apps' panic idiom: one banner the HIL gate can match, then a debugger-visible stop.

Precondition
Called only on an unrecoverable bring-up failure.
The console is up (best effort – the write may be dropped).
Postcondition
Never returns; the CPU parks in a WFI loop.
The negative banner was pushed to the console.
Note
Not thread-safe (terminal path).
Since
0.1.0

Definition at line 146 of file main.c.

References ehb_write(), and k_ehb_msg_hw_fail.

Referenced by ehb_setup_or_halt().

◆ ehb_run_once()

ra8_err_t ehb_run_once ( void )
staticnodiscard

Drive the ESWCLK + ESWM prerequisites, then the two ETH HAL primitives.

Narrates every status code so a transcript distinguishes which step refused: ESWCLK bring-up, the ESWM module-stop release, the COMA bring-up, or the RGMII media-select. Port 1 is selected because the EK-RA8D2 RJ45 is wired to RMAC1 / ETHA1.

Returns
ra8_err_t Status of the first failing call, else k_ra8_ok.
Return values
k_ra8_okEvery step succeeded.
k_ra8_err_hw_timeoutESWCLK, MSTP readback, or CABPIRM.BPR timed out.
k_ra8_err_invalid_argra8_eth_rgmii_select rejected the port.
Precondition
ehb_setup_or_halt has run (clocks, MSTP, SysTick, console).
No other agent owns the ESWM.
Postcondition
On success COMA is out of reset and port 1's media mux is RGMII.
Every step's status code has been narrated on the console.
Note
Not thread-safe (single-threaded app).
MC/DC:
Decision: four sequential single-condition rc != k_ra8_ok guards, each fully covered by two vectors (taken / not taken). The COMA and RGMII legs are exercised in both directions on host by tests/misc/src/test_ra8_eth_coma.c and tests/misc/src/test_ra8_eth.c (happy path + timeout / bad-port).
Since
0.1.0

Definition at line 218 of file main.c.

References ehb_write(), ehb_write_u32_line(), k_ehb_msg_coma, k_ehb_msg_eswclk, k_ehb_msg_mstp, k_ehb_msg_rgmii, k_ra8_eth_mii_port_1, k_ra8_mstp_eswm, k_ra8_ok, ra8_cgc_eswclk_init(), ra8_eth_coma_bringup(), ra8_eth_rgmii_select(), and ra8_mstp_enable().

Referenced by main().

◆ ehb_setup_or_halt()

void ehb_setup_or_halt ( void )
static

Bring up clocks, MSTP, SysTick and the SCI8 console; halt on failure.

The minimum the media bring-up below depends on: a running MSTP controller (ra8_mstp_init) so the ESWM gate can be released, and the console for narration.

Precondition
Running after Reset_Handler with .data / .bss initialised.
The board wiring matches EK-RA8D2 (SCI8 J-Link VCOM).
Postcondition
The console accepts writes at k_ehb_baud.
On any init failure the CPU is parked via ehb_panic_halt.
Note
Not thread-safe; boot context only.
Since
0.1.0

Definition at line 169 of file main.c.

References ehb_panic_halt(), k_ehb_baud, k_ra8_clock_id_cpuclk0, k_ra8_ok, ra8_board_uart_console_init(), ra8_cgc_get_clock_hz(), ra8_cgc_init(), ra8_mstp_init(), and ra8_time_init().

Referenced by main().

◆ ehb_write()

void ehb_write ( const uint8_t * data,
uint32_t len )
static

Write a byte span to the SCI8 console, discarding the status.

Parameters
[in]dataNon-NULL byte span to transmit.
[in]lenByte count (0 is a no-op).
Precondition
ra8_board_uart_console_init has succeeded.
data points at len readable bytes.
Postcondition
len bytes have been queued to the console UART.
No other state is modified.
Note
Not thread-safe (single-threaded app).
Since
0.1.0

Definition at line 92 of file main.c.

References ra8_board_uart_console_write().

Referenced by ehb_panic_halt(), ehb_run_once(), ehb_write_u32_line(), and main().

◆ ehb_write_u32_line()

void ehb_write_u32_line ( uint32_t val)
static

Log one unsigned 32-bit value as decimal ASCII plus CRLF.

Serialises LSB-first into a local buffer then emits MSB-first; zero prints as a single 0. Used to narrate ra8_err_t codes.

Parameters
[in]valValue to print.
Precondition
The console has been initialised.
val fits in a uint32_t (always true).
Postcondition
The decimal digits of val followed by CRLF were queued.
No other state is modified.
Note
Not thread-safe (single-threaded app).
Since
0.1.0

Definition at line 113 of file main.c.

References ehb_write(), k_ehb_dec_u32_max, k_ehb_msg_crlf, and k_ehb_radix.

Referenced by ehb_run_once().

◆ main()

void main ( void )

The application entry point Reset_Handler hands control to.

Returns void, not int. This is a freestanding image: there is no hosted C environment, no process and nothing to report an exit status to. ISO C fixes main at int only for a hosted implementation; for a freestanding one (C23 5.1.2.1) the startup function's name and type are implementation-defined, and this is that definition. Reset_Handler discards no value because there is none to discard, and if main ever does return, startup halts the CPU rather than resuming anything.

The firmware lane is compiled -ffreestanding (see cmake/ra8_add_app.cmake) and the flag and this signature travel together: without it both GCC and clang reject a non-int main (-Wmain / -Wmain-return-type). Do not remove one without the other.

That coupling is why the declaration sits behind __STDC_HOSTED__ == 0, which -ffreestanding sets and a hosted build does not. The guard is not defensive dressing: this header is reachable from host builds (the unit tests compile ra8_core natively), and an unguarded void main(void); makes every hosted translation unit that includes it fail with conflicting types for 'main' against its own ISO int main. The declaration therefore exists exactly where its contract does.

Hosted first-party code – everything under tests/ and tools/ – uses the ISO int main(...) contract instead, because it genuinely does run under an OS that reads the exit status. scripts/checks/check_entry_points.py holds each domain to its own contract (#707).

Declared here, once, for the same reason SystemInit is: every vector_table.c used to restate it as a local extern int32_t main(void);, sixteen copies that no compiler ever compared against the definition – and roughly thirty of them had silently drifted out of agreement with the main they called.

Precondition
Reset_Handler has copied .data and zeroed .bss.
SystemInit has configured the clock tree and VTOR.
Postcondition
Control does not return; the image runs until reset or halt.
Any value the application wanted to report has been logged, not returned.
Note
Not thread-safe; single-threaded startup context only.
Warning
Only valid while the translation unit is compiled -ffreestanding. A hosted build rejects this signature.
See also
SystemInit()
Since
0.1.0

The application entry point Reset_Handler hands control to.

Brings up CGC + BSP audio then plays blocks.

Precondition
Reset_Handler has copied .data and zeroed .bss.
SystemInit has set VTOR, FPU, and priority grouping.
Postcondition
On clean entry the CPU stays in the playback loop forever.
On any HAL init failure the function halts in WFI.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Brings up CGC + GPT triple, runs sweep.

Precondition
Reset_Handler has copied .data and zeroed .bss.
SystemInit has set VTOR, FPU, and priority grouping.
Postcondition
On clean entry the CPU stays in the sweep loop forever.
On any HAL init failure the function halts in WFI.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Brings up clocks + UART + RMII pins, then ThreadX.

Precondition
Reset_Handler has copied .data and zeroed .bss.
Postcondition
On clean entry the kernel runs the worker thread once.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Brings up clocks + UART, then enters ThreadX.

Precondition
Reset_Handler has copied .data and zeroed .bss.
SystemInit has set VTOR, FPU, and priority grouping.
Postcondition
On clean entry the kernel runs the worker thread forever.
On any HAL init failure the function halts in WFI.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Brings up LED, console, SDHI pins, then ThreadX.

Precondition
Reset_Handler has copied .data + zeroed .bss.
SystemInit has set VTOR, FPU, and priority grouping.
Postcondition
CPUCLK0 is raised to the PLL1 target before the kernel starts.
On clean entry the SD card thread runs forever.
On any HAL init failure the function halts in __WFI.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Brings up CGC + USB-FS + UAC1, then enters the iso-IN feed loop forever.

Precondition
Reset_Handler has copied .data and zeroed .bss.
SystemInit has set VTOR, FPU, and priority grouping.
Postcondition
On clean entry the CPU stays in the iso-IN feed loop forever.
On any HAL init failure the function halts in WFI.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
SystemInit set VTOR / FPU / priority grouping.

The application entry point Reset_Handler hands control to.

See file header.

Precondition
Boot init has completed.
The secure-boot library's BLXNS into NS image either failed or was skipped (the call site in ra8_trustzone_init is a no-op on host builds).
Postcondition
Diagnostic counter latched, CPU parked in a halt loop.
Function never returns.
Note
Single-threaded entry.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
On success g_eoh_chapters / g_eoh_crc hold the parsed results, the banner is emitted, and g_eoh_heartbeat advances once per frame.
On any failure g_eoh_err is non-zero and the CPU parks (no heartbeat).
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
The chapters/ch0-CRC banner is emitted; the CPU then loops in WFI.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
On success the g_etoc_* result globals hold the parsed TOC values, the banner is emitted, and g_etoc_heartbeat advances once per frame.
On any failure g_etoc_err is non-zero and the CPU parks (no heartbeat).
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss; SystemInit set VTOR/FPU.
Postcondition
The shelf scans on the panel; taps open books, browse, and read.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
The slab/arena/tile/vmem banner is emitted; the CPU then loops in WFI.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
On success the cache globals are latched and g_pc_heartbeat advances.
On any failure g_pc_err is non-zero and the CPU parks (no heartbeat).
Since
0.1.0

The application entry point Reset_Handler hands control to.

Profiles power modes once a second.

Precondition
Reset_Handler has copied .data and zeroed .bss.
SystemInit has set VTOR, FPU, and priority grouping.
Postcondition
On clean entry the CPU stays in the profile + blink loop.
On any HAL hard error LED2 latches ON.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler has copied .data and zeroed .bss.
The shared board boot files installed the vector table.
Postcondition
The demo has run once and its verdict banner is streaming steadily.
The CPU idles re-emitting the banner (or halts after a fatal init error).
Since
0.1.0

The application entry point Reset_Handler hands control to.

Brings up the clocks, console, SPI, and SD card, then runs the shared ra8_io VFS round-trip over the SD-over-SPI block device. On success it prints the exact PASS banner the HIL runner and ra8_emulator smoke gate scrape for; on any failure it prints FAIL and parks the core.

Precondition
Reset_Handler has copied .data and zeroed .bss.
SystemInit has set VTOR, FPU, and priority grouping.
Postcondition
On a clean run the CPU loops forever after the PASS banner.
On any failure the function prints FAIL and halts in WFI.
Note
Not thread-safe; this is the single-threaded app entry.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Initialises logging and the console, brings up the OSPI NOR volume, runs the erase-before-write round-trip, and prints a single PASS/FAIL verdict line over SCI8 before parking in an infinite loop.

Precondition
SystemInit configured VTOR / FPU / priority grouping.
The OSPI NOR array is present (modelled in ra8_emulator, real on silicon).
Postcondition
Exactly one PASS or FAIL verdict line has been queued on SCI8.
Control parks in an infinite loop; the function never returns.
Note
Single-threaded; runs to the park loop on the main stack.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
The page-count + render-hash banner is emitted; the CPU loops in WFI.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
The cal=OK / cal=SKIP result and the finger-free touchcal: ready sentinel are emitted; the CPU then loops in WFI.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
The open=OK touch banner is emitted; the CPU then loops in WFI.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Both USB controllers' clocks and pins come up before the kernel so the workers only deal with stack bring-up.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR, FPU, priority grouping.
Postcondition
On clean entry the CPU stays in tx_kernel_enter forever.
On any HAL init failure the function halts in WFI.
Note
Single entry point; not re-entrant.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Brings up logging and the clock tree, releases the Cortex-M33 (which then blinks LED1 via ra8_pcntr_set_output()), and idles. See the file header.

Precondition
SystemInit has completed core bring-up.
The M33 is held in reset by hardware until released here.
Postcondition
The M33 has been released and is blinking LED1.
This function never returns to its caller.
Note
Single-threaded; no RTOS on the M85 in this template.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
The application links ra8_c6link and ESP-hosted generated codecs.
No hardware validation is inferred from this function.
Postcondition
No c6link operation is attempted.
No network or storage state is modified.
Note
Single-threaded compile fixture.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Brings up logging, the clock tree, and the VCOM console, runs the cacheable-SRAM round-trip with the D-cache that SystemInit() enabled through ra8_cache_dcache_enable(), emits the matching PASS / FAIL banner over the console and ra8_log, then parks in WFI. Every byte the self-test touches runs with the L1 caches + MPU enabled by the shared boot (RA8_BOOT_ENABLE_CACHE_MPU + RA8_BOOT_CACHE_VIA_HAL).

Precondition
Reset_Handler has copied .data and zeroed .bss.
SystemInit enabled the MPU + I-cache + D-cache via the ra8_cache HAL.
Postcondition
Exactly one banner (PASS or FAIL) has been emitted.
The core is parked in WFI.
Note
Single-threaded; no RTOS and no IRQ sources in this template.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Publishes the mailbox, releases the Cortex-M33 into the emitter, yields until it signals done, validates the blob the M33 built, then logs the PASS/FAIL verdict and the chapter count read back from the blob. See the file header for the offload narrative.

Precondition
SystemInit has completed core bring-up.
The M33 is held inactive by hardware until released here.
Postcondition
The M33 has built a RABOOK1 blob and the M85 has validated it.
This function never returns to its caller.
Note
Single-threaded; no RTOS on the M85 in this example.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
On success the CPU heartbeats after epaper: PASS.
On any HAL error the console prints epaper: FAIL and the red LED latches on.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
The chapters/toc/cover banner is emitted; CPU loops in WFI.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
The reader loop runs forever, redrawing on each tap.
A page-1 banner is emitted once after the first render.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
The cover-size / framebuffer-CRC banner is emitted; CPU loops in WFI.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
The panel shows the reader screen and the input loop runs forever.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Publishes the mailbox, arms the IPC0 wake and configures the LPM block, releases the Cortex-M33 into the reader, waits for the first held page, logs the page-0 verdict, then runs the #150 mode-switch cycle – parking in low-power WFI and waking on the M33's page-turn pokes – before logging the handoff verdict and parking for good. See the file header for the narrative.

Precondition
SystemInit has completed core bring-up.
The M33 is held inactive by hardware until released here.
Postcondition
The M33 has rendered + re-rendered the held page and the M85 is parked.
This function never returns to its caller.
Note
Single-threaded; no RTOS on the M85 in this example.
Since
0.1.0

The application entry point Reset_Handler hands control to.

Precondition
Reset_Handler copied .data and zeroed .bss.
SystemInit set VTOR / FPU / priority grouping.
Postcondition
The boot banner is emitted; the reader loop services taps forever.
Since
0.1.0

Definition at line 247 of file main.c.

References ehb_run_once(), ehb_setup_or_halt(), ehb_write(), k_ehb_msg_boot, k_ehb_msg_fail, k_ehb_msg_pass, k_ra8_ok, and ra8_isr_globals_enable().

Variable Documentation

◆ k_ehb_msg_boot

const uint8_t k_ehb_msg_boot[] = "eth-hal: boot\r\n"
static

Definition at line 68 of file main.c.

Referenced by main().

◆ k_ehb_msg_coma

const uint8_t k_ehb_msg_coma[] = "eth-hal: coma_bringup rc="
static

Definition at line 71 of file main.c.

Referenced by ehb_run_once().

◆ k_ehb_msg_crlf

const uint8_t k_ehb_msg_crlf[] = "\r\n"
static

Definition at line 76 of file main.c.

Referenced by ehb_write_u32_line().

◆ k_ehb_msg_eswclk

const uint8_t k_ehb_msg_eswclk[] = "eth-hal: eswclk_init rc="
static

Definition at line 69 of file main.c.

Referenced by ehb_run_once().

◆ k_ehb_msg_fail

const uint8_t k_ehb_msg_fail[] = "eth-hal: bringup FAIL\r\n"
static

Definition at line 74 of file main.c.

Referenced by main().

◆ k_ehb_msg_hw_fail

const uint8_t k_ehb_msg_hw_fail[] = "eth-hal: hw_init_failed\r\n"
static

Definition at line 75 of file main.c.

Referenced by ehb_panic_halt().

◆ k_ehb_msg_mstp

const uint8_t k_ehb_msg_mstp[] = "eth-hal: mstp_eswm rc="
static

Definition at line 70 of file main.c.

Referenced by ehb_run_once().

◆ k_ehb_msg_pass

const uint8_t k_ehb_msg_pass[] = "eth-hal: bringup PASS\r\n"
static

Definition at line 73 of file main.c.

Referenced by main().

◆ k_ehb_msg_rgmii

const uint8_t k_ehb_msg_rgmii[] = "eth-hal: rgmii_select rc="
static

Definition at line 72 of file main.c.

Referenced by ehb_run_once().