2023-04-11 14:53:04 +00:00
|
|
|
[package]
|
|
|
|
edition = "2021"
|
|
|
|
name = "embassy-riscv-tests"
|
|
|
|
version = "0.1.0"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
critical-section = { version = "1.1.1", features = ["restore-state-bool"] }
|
2023-09-14 16:26:00 +00:00
|
|
|
embassy-sync = { version = "0.3.0", path = "../../embassy-sync" }
|
2023-08-23 18:34:37 +00:00
|
|
|
embassy-executor = { version = "0.3.0", path = "../../embassy-executor", features = ["arch-riscv32", "nightly", "executor-thread"] }
|
2023-10-16 18:07:48 +00:00
|
|
|
embassy-time = { version = "0.1.5", path = "../../embassy-time" }
|
2023-04-11 14:53:04 +00:00
|
|
|
embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
|
|
|
|
|
|
|
|
riscv-rt = "0.11"
|
|
|
|
riscv = { version = "0.10", features = ["critical-section-single-hart"] }
|
|
|
|
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = true
|
|
|
|
opt-level = 's'
|
|
|
|
overflow-checks = true
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = false
|
|
|
|
incremental = false
|
|
|
|
lto = "fat"
|
|
|
|
opt-level = 's'
|
|
|
|
overflow-checks = false
|
|
|
|
|
|
|
|
# do not optimize proc-macro crates = faster builds from scratch
|
|
|
|
[profile.dev.build-override]
|
|
|
|
codegen-units = 8
|
|
|
|
debug = false
|
|
|
|
debug-assertions = false
|
|
|
|
opt-level = 0
|
|
|
|
overflow-checks = false
|
|
|
|
|
|
|
|
[profile.release.build-override]
|
|
|
|
codegen-units = 8
|
|
|
|
debug = false
|
|
|
|
debug-assertions = false
|
|
|
|
opt-level = 0
|
|
|
|
overflow-checks = false
|