Skip to main content

Crate tinyboot_core

Crate tinyboot_core 

Source
Expand description

Platform-agnostic bootloader core.

Implements the boot state machine, protocol dispatcher, and app validation. Platform-specific behaviour is injected via the traits in traits::boot.

Re-exports§

pub use crate::core::Core;

Modules§

app
App-side tinyboot client (poll, confirm, command handling). App-side tinyboot client.
core
Boot state machine and entry point.
protocol
Protocol frame dispatcher.
ringbuf
Fixed-size ring buffer for buffered flash writes.
traits
Platform abstraction traits.

Macros§

app_version
Define the .tb_version static using the calling crate’s version. Place this at module scope in your application binary.
boot_version
Define the .tb_version static using the calling crate’s version. Place this at module scope in your bootloader binary.

Functions§

tinyboot_version
Read the version from the __tb_version linker symbol.