embassy-boot-stm32 0.2.0

Bootloader lib for STM32 chips
1
2
3
4
5
6
7
8
use std::env;

fn main() {
    let target = env::var("TARGET").unwrap();
    if target.starts_with("thumbv6m-") {
        println!("cargo:rustc-cfg=armv6m");
    }
}