lpc-usbd 0.1.0

'usb-device' implementation for LPC microcontrollers
Documentation
1
2
3
4
5
6
7
8
9
10
fn main() {
    let profile = std::env::var("PROFILE").unwrap();
    let target = std::env::var("TARGET").unwrap();

    if profile == "debug" && !target.starts_with("x86_64") {
        println!(
            "cargo:warning=lpc-usbd is being compiled in debug mode. This driver works reliably only in release mode!"
        );
    }
}