mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-27 12:20:37 +00:00
33 lines
1.1 KiB
TOML
33 lines
1.1 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-mspm0-c1104-examples"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = ["mspm0c110x", "rt", "time-driver-any"] }
|
|
embassy-executor = { version = "0.7.0", path = "../../embassy-executor", features = ["task-arena-size-128", "arch-cortex-m", "executor-thread", "executor-interrupt"] }
|
|
embassy-sync = { version = "0.6.2", path = "../../embassy-sync", features = ["defmt"] }
|
|
embassy-time = { version = "0.4.0", path = "../../embassy-time", features = ["defmt"] }
|
|
panic-halt = "0.2.0"
|
|
cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
|
|
cortex-m-rt = { version = "0.7.0"}
|
|
defmt = "0.3"
|
|
defmt-rtt = "0.4"
|
|
panic-probe = { version = "0.3.2", features = ["print-defmt"] }
|
|
panic-semihosting = "0.6.0"
|
|
|
|
# The chip only has 1KB of ram, so we must optimize binaries regardless
|
|
[profile.dev]
|
|
debug = 1
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
# strip = true
|
|
|
|
[profile.release]
|
|
debug = 1
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|