This commit is contained in:
Kaitlyn Kenwell
2023-12-13 14:53:49 -05:00
parent 2afec225e3
commit c2942f2727
4 changed files with 73 additions and 64 deletions

View File

@ -12,5 +12,8 @@ mod application;
#[cfg(feature = "application")]
pub use self::application::*;
#[cfg(any(all(feature = "bootloader", feature = "application"), not(any(feature = "bootloader", feature = "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");