Expand description
Implements the Tockloader protocol.
TockOS applications are loaded with tockloader.
This speaks to the TockOS bootloader using a specific
protocol. This crate implements that protocol so
that you can write future tockloader compatible bootloaders
in Rust!
Modules§
Structs§
- Command
Decoder - The
ComandDecodertakes bytes and gives youCommands. - Command
Encoder - The
CommandEncodertakes aCommandand gives you bytes. - Response
Decoder - The
ResponseDecodertakes bytes and gives youResponsess. - Response
Encoder - The
ResponseEncodertakes aResponseand gives you bytes.
Enums§
- Baud
Mode - Command
- Commands supported by the protocol. A bootloader will decode these and a flash tool will encode them.
- Error
- Response
- Reponses supported by the protocol. A bootloader will encode these and a flash tool will decode them.