Expand description
Wire protocol for the tinyboot bootloader.
Defines the frame format, commands, status codes, and CRC used for host-device communication over UART / RS-485.
Re-exports§
pub use frame::Data;pub use frame::EraseData;pub use frame::InfoData;pub use frame::MAX_PAYLOAD;pub use frame::VerifyData;
Modules§
Macros§
- pkg_
version - Expands to
pack_version(MAJOR, MINOR, PATCH)using the calling crate’sCargo.tomlversion fields. Zero runtime cost — evaluates to au16constant.
Structs§
- Read
Error - Transport IO error.
Enums§
Functions§
- const_
parse_ u8 const fnparse of a&strdecimal digit sequence intou8. Panics at compile time if the string is empty or contains non-digit chars.- pack_
version - Pack a semantic version into a
u16using 5.5.6 encoding. - unpack_
version - Unpack a 5.5.6-encoded
u16into(major, minor, patch).