2023-04-11 16:53:04 +02: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-04-13 23:03:21 +02:00
|
|
|
embassy-sync = { version = "0.2.0", path = "../../embassy-sync" }
|
2023-04-27 09:22:32 +02:00
|
|
|
embassy-executor = { version = "0.2.0", path = "../../embassy-executor", features = ["arch-riscv32", "nightly", "executor-thread"] }
|
2023-07-05 23:54:45 +02:00
|
|
|
embassy-time = { version = "0.1.2", path = "../../embassy-time" }
|
2023-04-11 16:53:04 +02: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
|