|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Cross-TU surface for ra8_crashlog (host-test white-box access only). More...
Go to the source code of this file.
Cross-TU surface for ra8_crashlog (host-test white-box access only).
Not part of the public API. On the host unit-test build (RA8_OFF_TARGET) the .noinit record is an ordinary zero-init static rather than a warm-reset-surviving SRAM region, so the tests cannot reproduce a cold-boot "random SRAM" or a corrupted checksum by resetting the board. Instead these helpers expose the raw record so a test can plant a specific magic / crc byte pattern and drive the two-condition validation decision (the magic sentinel plus the payload CRC) through both of its conditions independently – the MC/DC obligation for ra8_crashlog_is_valid. See CLAUDE.md "Test access to internal symbols (MC/DC scope)".
Definition in file ra8_crashlog_internal.h.