|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Load a TTF/OTF font off an SD card and render text with reflow. More...
#include <stdint.h>#include <string.h>#include "literata_latin1.h"#include "ra8_board_ek_ra8d2.h"#include "ra8_boot_entry.h"#include "ra8_cgc.h"#include "ra8_display_pal.h"#include "ra8_display_pal_lcd.h"#include "ra8_err.h"#include "ra8_gfx.h"#include "ra8_isr.h"#include "ra8_mstp.h"#include "ra8_panel.h"#include "ra8_panel_timing.h"#include "ra8_sdfont.h"#include "ra8_sdramc.h"#include "ra8_time.h"#include "reflow.h"Go to the source code of this file.
Enumerations | |
| enum | sfr_fb_dim_t : uint16_t { k_sfr_fb_w = k_panel_width_px , k_sfr_fb_h = k_panel_height_px } |
| Framebuffer dimensions, sourced from the BSP panel descriptor. More... | |
| enum | sfr_fb_misc_t : uint16_t { k_sfr_settle_ms = 500U , k_sfr_frame_ms = 100U } |
| Framebuffer + pacing byte-math constants. More... | |
| enum | sfr_reflow_cfg_t : uint32_t { k_sfr_font_cap = 512U * 1024U , k_sfr_font_px = 18U , k_sfr_spi_chan = 0U , k_sfr_spi_idle = 0xFFU , k_sfr_paper_argb = 0xFFFFFFFFU , k_sfr_ink_argb = 0xFF101010U , k_sfr_link_argb = 0xFF2A52BEU , k_sfr_paper_rgb565 = 0xFFFFU } |
| Reflow + font-load tunables. More... | |
| enum | sfr_diag_fill_t : uint32_t { k_sfr_diag_argb_opaque = 0xFF000000U , k_sfr_diag_lvl_base = 0x10U , k_sfr_diag_lvl_step = 0x20U , k_sfr_diag_lvl_mask = 0x0FU , k_sfr_diag_shift_r = 16U , k_sfr_diag_shift_g = 8U } |
| Constants for the stage-coded gray panic fill (diagnostic only). More... | |
| enum | sfr_stage_t : uint32_t { k_sfr_stage_boot = 0U , k_sfr_stage_panel_ok = 1U , k_sfr_stage_card_ok = 2U , k_sfr_stage_mount_ok = 3U , k_sfr_stage_font_ok = 4U , k_sfr_stage_layout_ok = 5U , k_sfr_stage_render_ok = 6U , k_sfr_stage_card_fail = 0x80U , k_sfr_stage_mount_fail = 0x81U , k_sfr_stage_font_fail = 0x82U , k_sfr_stage_reflow_fail = 0x83U } |
| Diagnostic stage codes stamped to g_sfr_stage (J-Link / emulator). More... | |
Functions | |
| RA8_BOARD_PANEL_FRAMEBUFFER (s_framebuffer) | |
| RGB565 framebuffer in external SDRAM, AXI-burst aligned. | |
| static void | sfr_panic_halt (uint32_t stage) |
| Halt forever with the red board LED on (fatal init error marker). | |
| static void | sfr_bringup_clocks (void) |
| Clocks, MSTP, SysTick, LEDs, then enable IRQs. | |
| static void | sfr_bringup_panel (void) |
| External SDRAM + GLCDC panel + ra8_gfx binding. | |
| static void | sfr_load_font_or_halt (void) |
| Load FONT.OTF off the Pmod2 card (self-provisioning) into s_font_buf. | |
| static void | sfr_render_or_halt (void) |
| Reflow the body XHTML with the SD font into the framebuffer. | |
| void | main (void) |
| The application entry point Reset_Handler hands control to. | |
Variables | |
| static const ra8_port_pin_t | k_sfr_pin_sck = (ra8_port_pin_t)k_ra8_board_pmod2_spi_sck |
| Pmod2 SPI pins (J25) – SCI0 Simple-SPI per HUM Table 20.13. | |
| static const ra8_port_pin_t | k_sfr_pin_cipo = (ra8_port_pin_t)k_ra8_board_pmod2_spi_cipo |
| static const ra8_port_pin_t | k_sfr_pin_copi = (ra8_port_pin_t)k_ra8_board_pmod2_spi_copi |
| static const ra8_port_pin_t | k_sfr_pin_cs = (ra8_port_pin_t)k_ra8_board_pmod2_spi_cs |
| static const char | k_sfr_body [] |
| XHTML body the app reflows with the SD-loaded font. | |
| static uint8_t | s_font_buf [k_sfr_font_cap] |
| Font blob read off the card – lives in SDRAM (hundreds of KiB). | |
| static reflow_t | s_engine |
| Reflow engine (page / glyph / token pools live inside). | |
| static const display_cfg_t | k_sfr_display_cfg |
| Display PAL config – LCD/GLCDC backend over the SDRAM buffer. | |
| static display_handle_t * | s_display = nullptr |
| PAL handle returned by display_init. | |
| static display_fb_t | s_fb |
| Mutable copy of the FB descriptor; populated at boot. | |
| static uint32_t | s_pclka_hz = 0U |
| Cached PCLKA rate (Hz) for the SPI clock shim. | |
| volatile uint32_t | g_sfr_stage = k_sfr_stage_boot |
| Last stage reached (sfr_stage_t); read externally over SWD. | |
| volatile uint32_t | g_sfr_font_len = 0U |
| Bytes of font read off the card. | |
| volatile uint32_t | g_sfr_pages = 0U |
| Pages produced by reflow_layout_chapter. | |
| volatile uint32_t | g_sfr_ink = 0U |
| Inked (non-paper) pixel count after render – liveness proof. | |
| volatile uint32_t | g_sfr_source = 0U |
| Font provenance (ra8_sdfont_source_t): 0 = on-card, 1 = provisioned. | |
| volatile uint32_t | g_sfr_err = 0U |
| Last ra8_err_t from ra8_sdfont_load (0 = k_ra8_ok), for SWD triage. | |
| volatile uint32_t | g_sfr_heartbeat = 0U |
| Idle-loop heartbeat; advances only after a clean render (HIL gate). | |
Load a TTF/OTF font off an SD card and render text with reflow.
Proves the e-reader font-storage path end to end on real firmware: a font file lives on an SD card (FAT volume), the genuine ra8_sdmmc_spi driver reads it over SPI, ra8_fs serves it as a file, and reflow rasterises a paragraph of XHTML into the GLCDC framebuffer through ra8_gfx. The same pipeline is covered on host by apps/shared_libs/reflow/tests/src/test_ra8_sdmmc_card_reflow.c; this app promotes it to a ra8_emulator-runnable binary:
Flow:
FONT.OTF into an SDRAM buffer – self-provisioning the file from a baked Latin-1 font when the card is blank.Because the font self-provisions, any FAT-formatted microSD works – the card need not be pre-loaded with FONT.OTF. On the physical board this needs a Digilent PMOD MicroSD in J25; in ra8_emulator the --sd image stands in.
Definition in file main.c.
| enum sfr_diag_fill_t : uint32_t |
Constants for the stage-coded gray panic fill (diagnostic only).
| enum sfr_fb_dim_t : uint16_t |
| enum sfr_fb_misc_t : uint16_t |
| enum sfr_reflow_cfg_t : uint32_t |
Reflow + font-load tunables.
| enum sfr_stage_t : uint32_t |
Diagnostic stage codes stamped to g_sfr_stage (J-Link / emulator).
| 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.
The application entry point Reset_Handler hands control to.
Brings up CGC + BSP audio then plays blocks.
The application entry point Reset_Handler hands control to.
Brings up CGC + GPT triple, runs sweep.
The application entry point Reset_Handler hands control to.
Brings up clocks + UART + RMII pins, then ThreadX.
The application entry point Reset_Handler hands control to.
Brings up clocks + UART, then enters ThreadX.
The application entry point Reset_Handler hands control to.
Brings up LED, console, SDHI pins, then ThreadX.
The application entry point Reset_Handler hands control to.
Brings up CGC + USB-FS + UAC1, then enters the iso-IN feed loop forever.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
See file header.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Profiles power modes once a second.
The application entry point Reset_Handler hands control to.
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.
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.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
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.
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.
The application entry point Reset_Handler hands control to.
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).
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.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
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.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Brings up the timebase then measures forever.
The application entry point Reset_Handler hands control to.
Arms the RIIC1 target and polls the dispatcher.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Brings up the LIN commander then drives frames.
The application entry point Reset_Handler hands control to.
Brings up logging, "renders" page 0 into the shared mailbox, releases the Cortex-M33 into its hold loop, and parks the M85 in low-power WFI sleep. See the file header for the power-saving narrative.
The application entry point Reset_Handler hands control to.
The USB clock, pins, console, and the SD card all come up before the kernel so the worker only deals with USB stack bring-up.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Brings up logging, the clock tree, and the VCOM console, runs the three-step self-test (MPU enabled, canonical boot map, Device MMIO), emits the matching PASS / FAIL banner over the console and ra8_log, then parks in WFI.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Initialises logging + console, brings up the MRAM volume, runs the wear-levelling + power-cycle-survival flow, and prints a single PASS/FAIL verdict.
The application entry point Reset_Handler hands control to.
Initialises logging + console, brings up the MRAM volume, runs the program/erase round-trip, and prints a single PASS/FAIL verdict.
The application entry point Reset_Handler hands control to.
Brings up the clocks, console, and SDHI bus pins, runs the native SD card identification, fills the payload, then runs the full ra8_io VFS round-trip over the native-SDHI 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.
The application entry point Reset_Handler hands control to.
Brings up the console and both stdio sinks, retargets the engine's stdio to the in-RAM capture sink, runs the two-backend swap, replays the RAM capture out of the UART, and prints a single PASS/FAIL verdict per abstraction before parking in an infinite loop.
The application entry point Reset_Handler hands control to.
Brings up the clocks, console, and SDHI bus pins, runs the native SD card identification, fills the payload, then writes + reads + compares one raw 512-byte block straight against ra8_sdcard. On success it prints the exact PASS banner; on any failure it prints FAIL and parks the core.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Brings up clocks + UART + RMII + RSIP, then ThreadX.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Initializes and arms ADC_B, formats each successful channel sample without variadic I/O, emits the verdict, toggles LED1, and delays.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Brings up logging, releases the Cortex-M33 (which then blinks LED1), and idles. See the file header for the teaching narrative.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
See the file header for the full behaviour summary.
The application entry point Reset_Handler hands control to.
Brings up logging, the clock tree, and the VCOM console, runs the three-step self-test (cacheable SRAM, RO MRAM const, Device MMIO), 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 and MPU enabled by the shared boot (RA8_BOOT_ENABLE_CACHE_MPU).
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Lights HOCO + PLL, then runs a 1 Hz blink.
The application entry point Reset_Handler hands control to.
See file header for behaviour summary.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Initializes the demo, executes one comparison per period, increments the exported match or mismatch counter, and toggles the matching LED.
The application entry point Reset_Handler hands control to.
Brings up the clock tree, MSTP, ISR/ELC, and the VCOM console, programs a software-triggered DTC block copy, runs it with the L1 caches + MPU enabled by the shared boot (RA8_BOOT_ENABLE_CACHE_MPU), emits the matching PASS / FAIL banner over the console and ra8_log, then parks in WFI.
The application entry point Reset_Handler hands control to.
Brings up logging, zeros the shared control block, releases the Cortex-M33, waits for its boot signature, then yields while the M33 counts autonomously to k_bg_target_count. After the M33 sets done, the M85 reads the counter and logs the PASS/FAIL verdict.
The application entry point Reset_Handler hands control to.
Brings up logging, releases the Cortex-M33, confirms it booted, runs k_m85_demo_rounds narrated mailbox rounds, then drops into the idle heartbeat. See the file header for the teaching narrative.
The application entry point Reset_Handler hands control to.
Fires ELC software events once a second.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Initializes the demo, tracks falling SW1 edges as counter deltas, and independently increments the exported liveness counter whenever successive GPT samples advance.
The application entry point Reset_Handler hands control to.
Initializes the demo and GPT0, runs one bounded DMA request per iteration, updates the exported match/mismatch counter, and delays.
The application entry point Reset_Handler hands control to.
Initializes and arms GPT0 once, then starts, polls, records the exported pass/failure counters, toggles LED1 on completion, and delays before the next one-shot.
The application entry point Reset_Handler hands control to.
Brings up both controllers then scans each.
The application entry point Reset_Handler hands control to.
Brings up CGC + IIC_B + console then probes.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Emits the boot banner, initializes the option-controlled IWDT, samples its counter, and on legal samples queues a refresh, clears status, toggles LED1, and emits the refresh banner.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Performs one Deep-Sleep cycle, emits the wake banner, then parks in a normal blink loop.
The application entry point Reset_Handler hands control to.
The application entry point Reset_Handler hands control to.
Initializes channel zero, formats and enqueues each counter line, toggles LED1, and delays before incrementing the next sample.
Definition at line 330 of file main.c.
References g_sfr_heartbeat, k_sfr_frame_ms, ra8_delay_ms(), sfr_bringup_clocks(), sfr_bringup_panel(), sfr_load_font_or_halt(), and sfr_render_or_halt().
| RA8_BOARD_PANEL_FRAMEBUFFER | ( | s_framebuffer | ) |
RGB565 framebuffer in external SDRAM, AXI-burst aligned.
References s_framebuffer.
|
static |
Clocks, MSTP, SysTick, LEDs, then enable IRQs.
Definition at line 207 of file main.c.
References k_ra8_board_led_blue, k_ra8_board_led_red, k_ra8_clock_id_cpuclk0, k_ra8_clock_id_pclka, k_ra8_ok, k_sfr_stage_boot, ra8_board_led_init(), ra8_cgc_get_clock_hz(), ra8_cgc_init(), ra8_isr_globals_enable(), ra8_mstp_init(), ra8_time_init(), s_pclka_hz, and sfr_panic_halt().
Referenced by main().
|
static |
External SDRAM + GLCDC panel + ra8_gfx binding.
Definition at line 235 of file main.c.
References display_get_framebuffer(), display_init(), g_sfr_stage, k_ra8_gfx_format_rgb565, k_ra8_ok, k_sfr_display_cfg, k_sfr_paper_argb, k_sfr_settle_ms, k_sfr_stage_boot, k_sfr_stage_panel_ok, ra8_delay_ms(), ra8_gfx_clear(), ra8_gfx_init(), ra8_sdramc_init(), s_display, s_fb, and sfr_panic_halt().
Referenced by main().
|
static |
Load FONT.OTF off the Pmod2 card (self-provisioning) into s_font_buf.
Delegates the Pmod2 SPI bring-up, FAT mount, and font read to ra8_sdfont_load, which writes the baked Latin-1 font to the card and reads it back when FONT.OTF is absent – so any FAT-formatted card just works. The raw ra8_err_t is stashed in g_sfr_err for SWD triage; on failure the panel is flooded a stage-coded gray and the app halts.
Definition at line 262 of file main.c.
References g_ra8_font_literata_latin1, g_ra8_font_literata_latin1_len, g_sfr_err, g_sfr_font_len, g_sfr_source, g_sfr_stage, k_ra8_ok, k_ra8_sdfont_source_card, k_sfr_font_cap, k_sfr_pin_cipo, k_sfr_pin_copi, k_sfr_pin_cs, k_sfr_pin_sck, k_sfr_spi_chan, k_sfr_stage_card_fail, k_sfr_stage_font_ok, ra8_sdfont_load(), s_font_buf, s_pclka_hz, and sfr_panic_halt().
Referenced by main().
|
static |
Halt forever with the red board LED on (fatal init error marker).
Also floods the framebuffer a stage-coded gray so a ra8_emulator --ppm snapshot (or a glance at the panel) reveals which bring-up stage failed without a debugger: low nibble of the stage code picks the level.
Definition at line 190 of file main.c.
References g_sfr_stage, k_ra8_board_led_red, k_sfr_diag_argb_opaque, k_sfr_diag_lvl_base, k_sfr_diag_lvl_mask, k_sfr_diag_lvl_step, k_sfr_diag_shift_g, k_sfr_diag_shift_r, ra8_board_led_on(), and ra8_gfx_clear().
Referenced by sfr_bringup_clocks(), sfr_bringup_panel(), sfr_load_font_or_halt(), and sfr_render_or_halt().
|
static |
Reflow the body XHTML with the SD font into the framebuffer.
Definition at line 288 of file main.c.
References g_sfr_font_len, g_sfr_ink, g_sfr_pages, g_sfr_stage, k_ra8_board_led_blue, k_ra8_ok, k_sfr_body, k_sfr_fb_h, k_sfr_fb_w, k_sfr_font_px, k_sfr_ink_argb, k_sfr_link_argb, k_sfr_paper_rgb565, k_sfr_stage_layout_ok, k_sfr_stage_reflow_fail, k_sfr_stage_render_ok, ra8_board_led_on(), reflow_init(), reflow_layout_chapter(), reflow_render_page(), s_engine, s_font_buf, s_framebuffer, and sfr_panic_halt().
Referenced by main().
| volatile uint32_t g_sfr_err = 0U |
Last ra8_err_t from ra8_sdfont_load (0 = k_ra8_ok), for SWD triage.
Definition at line 177 of file main.c.
Referenced by sfr_load_font_or_halt().
| volatile uint32_t g_sfr_font_len = 0U |
Bytes of font read off the card.
Definition at line 169 of file main.c.
Referenced by sfr_load_font_or_halt(), and sfr_render_or_halt().
| volatile uint32_t g_sfr_heartbeat = 0U |
| volatile uint32_t g_sfr_ink = 0U |
Inked (non-paper) pixel count after render – liveness proof.
Definition at line 173 of file main.c.
Referenced by sfr_render_or_halt().
| volatile uint32_t g_sfr_pages = 0U |
Pages produced by reflow_layout_chapter.
Definition at line 171 of file main.c.
Referenced by sfr_render_or_halt().
| volatile uint32_t g_sfr_source = 0U |
Font provenance (ra8_sdfont_source_t): 0 = on-card, 1 = provisioned.
Definition at line 175 of file main.c.
Referenced by sfr_load_font_or_halt().
| volatile uint32_t g_sfr_stage = k_sfr_stage_boot |
Last stage reached (sfr_stage_t); read externally over SWD.
Definition at line 167 of file main.c.
Referenced by sfr_bringup_panel(), sfr_load_font_or_halt(), sfr_panic_halt(), and sfr_render_or_halt().
|
static |
XHTML body the app reflows with the SD-loaded font.
Deliberately short: every glyph is rasterised by stb_truetype in software, which is fast on the panel but slow under the ra8_emulator CPU emulator, so a compact line keeps the fake render time practical while still exercising the full SD-font -> ra8_fs -> reflow -> framebuffer path.
Definition at line 128 of file main.c.
Referenced by sfr_render_or_halt().
|
static |
Display PAL config – LCD/GLCDC backend over the SDRAM buffer.
Definition at line 145 of file main.c.
Referenced by sfr_bringup_panel().
|
static |
Definition at line 118 of file main.c.
Referenced by sfr_load_font_or_halt().
|
static |
Definition at line 119 of file main.c.
Referenced by sfr_load_font_or_halt().
|
static |
Definition at line 120 of file main.c.
Referenced by sfr_load_font_or_halt().
|
static |
Pmod2 SPI pins (J25) – SCI0 Simple-SPI per HUM Table 20.13.
Definition at line 117 of file main.c.
Referenced by sfr_load_font_or_halt().
|
static |
|
static |
|
static |
|
static |