Crates.io | dfu-core |
lib.rs | dfu-core |
version | 0.7.0 |
source | src |
created_at | 2021-05-31 23:20:46.770709 |
updated_at | 2024-11-09 06:30:43.280647 |
description | Sans IO core library (traits and tools) for DFU |
homepage | https://github.com/dfu-rs/dfu-core |
repository | https://github.com/dfu-rs/dfu-core |
max_upload_size | |
id | 404513 |
size | 83,839 |
Sans IO core library (traits and tools) for DFU.
no_std
compatibletrait DfuIo
: a trait that can be made into an object that provides the IO
to this library logic.struct DfuSansIo
: a struct that allows the developer to do the DFU logic
using a state machine (can be async or sync).struct DfuSync
: a basic sync implementation that uses a DfuIo
provided
in argument during runtime.type MemoryPage
and type mem
: primitives representing the memory layout
of the device (like char
and str
).struct MemoryLayout
: (requires features std
) an allocated
representation of the memory layout (like String
) that can parse a
memory layout from a string.FunctionalDescriptor
: can read the extra bytes of a USB functional
descriptor to provide information for the DFU logic.This crate has been made based on the following specifications:
MIT OR Apache-2.0