Skip to main content

select

Function select 

Source
pub fn select(header: &Header, rom: &[u8]) -> Box<dyn Board>
Expand description

Select the concrete board for a parsed header, allocating ROM + zeroed SRAM.

rom must be the copier-prefix-stripped image (see Header::detect). The base map mode picks the base board; a detected coprocessor wraps it (DSP-1 → crate::coproc::Dsp1Board). Coprocessor boards that depend on a chip-ROM dump are inert until the firmware is supplied via Board::load_firmware (docs/adr/0003).