avrman 0.1.2

AVR programmer natively written in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::error::AvrResult;
pub mod stk500v1;

/// Currently only implements program/reset. Can be extended in
/// future to do other operations like dump flash, erase chip, etc.,
pub(crate) trait ProgrammerTrait {
    fn program_firmware(
        &self,
        firmware: Vec<u8>,
        verify: bool,
        enable_progress_bar: bool,
    ) -> AvrResult<()>;
    fn reset(&self) -> AvrResult<()>;
}