[package] edition = "2021" name = "embassy-stm32f1-examples" version = "0.1.0" license = "MIT OR Apache-2.0" [dependencies] # Change stm32f103c8 to your chip name, if necessary. embassy-stm32 = { version = "0.1.0", features = [ "defmt", "stm32f103re", "unstable-pac", "memory-x", "time-driver-any" ] } embassy-sync = { version = "0.5.0", features = ["defmt"] } embassy-executor = { version = "0.5.0", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } embassy-time = { version = "0.3.0", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } embassy-usb = { version = "0.1.0", features = ["defmt"] } embassy-futures = { version = "0.1.0" } defmt = "0.3" defmt-rtt = "0.4" cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } cortex-m-rt = "0.7.0" embedded-hal = "0.2.6" panic-probe = { version = "0.3", features = ["print-defmt"] } futures = { version = "0.3.17", default-features = false, features = ["async-await"] } heapless = { version = "0.8", default-features = false } nb = "1.0.0" [profile.dev] opt-level = "s" [profile.release] debug = 2 #[profile.dev] #codegen-units = 1 #opt-level = "z" # #[profile.dev.package."*"] #codegen-units = 1 #opt-level = "z" # #[profile.release] ## or "z" #opt-level = "z"