docs.rs failed to build tinyboot-ch32-boot-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
tinyboot-ch32-boot
Part of the tinyboot project — see the main README to get started.
CH32 platform implementation for the tinyboot bootloader. Provides storage, transport, boot metadata, and boot control backed by CH32 hardware.
Overview
Implements the tinyboot::traits::boot::Platform trait by composing four components:
| Component | Description |
|---|---|
Usart |
UART/RS-485 transport with configurable pin mapping, baud rate, and half/full duplex |
Storage |
Flash read/write/erase via embedded-storage traits |
BootMetaStore |
Option-byte-based boot state and checksum storage |
BootCtl |
Boot control (app jump, system reset, boot request detection) |
Usage
use ;
let transport = new;
let storage = new;
let platform = new;
new.run;
See examples/ch32/system-flash for a complete bootloader example.
Features
| Feature | Description |
|---|---|
ch32v003f4p6 |
CH32V003F4P6 chip variant (default) |
rt |
Runtime startup code (reset vector, stack init) |
system-flash |
Bootloader runs from system flash |
defmt |
Enable defmt logging |