Add embassy-usb-dfu

This commit is contained in:
Kaitlyn Kenwell
2023-12-13 14:40:49 -05:00
parent 14f41a71b6
commit 976a7ae22a
10 changed files with 492 additions and 7 deletions

View File

@ -0,0 +1,16 @@
#![no_std]
pub mod consts;
#[cfg(feature = "bootloader")]
mod bootloader;
#[cfg(feature = "bootloader")]
pub use self::bootloader::*;
#[cfg(feature = "application")]
mod application;
#[cfg(feature = "application")]
pub use self::application::*;
#[cfg(any(all(feature = "bootloader", feature = "application"), not(any(feature = "bootloader", feature = "application"))))]
compile_error!("usb-dfu must be compiled with exactly one of `bootloader`, or `application` features");