Skip to main content

Crate ld_memory

Crate ld_memory 

Source
Expand description

Create ld memory sections programmaticaly

This crate can be used in build.rs scripts to replace static memory.x files often used in MCU peripheral access crates.

It was first built to allow specifying a bootloader offset and splitting the remaining flash memory into “slots” for an active/passive updating scheme.

Structs§

Memory
MemorySection

Traits§

ParseDecOrHex
Helper trait to parse strings to usize from both decimal or hex