aboutsummaryrefslogtreecommitdiff
path: root/tests/mspm0/Cargo.toml
diff options
context:
space:
mode:
authori509VCB <[email protected]>2025-04-06 21:13:49 -0500
committeri509VCB <[email protected]>2025-04-06 21:15:42 -0500
commit1e23b8114bb1f4b9e092bc50b3cfe4bd2f7ebdb6 (patch)
tree78f39de51ef1e399b9e4b0d3786a095134838790 /tests/mspm0/Cargo.toml
parent717fbc1cd9a038d6601721a6e84f58be264ee624 (diff)
mspm0: add uart tests
This also fixes a bug in the uart clock calculation where it could select an oversampling faster than what the hardware is providing.
Diffstat (limited to 'tests/mspm0/Cargo.toml')
-rw-r--r--tests/mspm0/Cargo.toml58
1 files changed, 58 insertions, 0 deletions
diff --git a/tests/mspm0/Cargo.toml b/tests/mspm0/Cargo.toml
new file mode 100644
index 000000000..0566807d7
--- /dev/null
+++ b/tests/mspm0/Cargo.toml
@@ -0,0 +1,58 @@
1[package]
2edition = "2021"
3name = "embassy-mspm0-tests"
4version = "0.1.0"
5license = "MIT OR Apache-2.0"
6
7[features]
8mspm0g3507 = [ "embassy-mspm0/mspm0g350x" ]
9
10[dependencies]
11teleprobe-meta = "1.1"
12
13embassy-sync = { version = "0.6.2", path = "../../embassy-sync", features = [ "defmt" ] }
14embassy-executor = { version = "0.7.0", path = "../../embassy-executor", features = [ "arch-cortex-m", "executor-thread", "defmt" ] }
15embassy-time = { version = "0.4.0", path = "../../embassy-time", features = [ "defmt" ] }
16embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = [ "rt", "defmt", "unstable-pac", "time-driver-any" ] }
17embassy-embedded-hal = { version = "0.3.0", path = "../../embassy-embedded-hal/"}
18
19defmt = "1.0.1"
20defmt-rtt = "1.0.0"
21
22cortex-m = { version = "0.7.6", features = [ "inline-asm", "critical-section-single-core" ]}
23cortex-m-rt = "0.7.0"
24embedded-hal = { package = "embedded-hal", version = "1.0" }
25embedded-hal-async = { version = "1.0" }
26panic-probe = { version = "0.3.0", features = ["print-defmt"] }
27static_cell = "2"
28portable-atomic = { version = "1.5", features = ["critical-section"] }
29
30[profile.dev]
31debug = 2
32debug-assertions = true
33opt-level = 's'
34overflow-checks = true
35
36[profile.release]
37codegen-units = 1
38debug = 2
39debug-assertions = false
40incremental = false
41lto = "fat"
42opt-level = 's'
43overflow-checks = false
44
45# do not optimize proc-macro crates = faster builds from scratch
46[profile.dev.build-override]
47codegen-units = 8
48debug = false
49debug-assertions = false
50opt-level = 0
51overflow-checks = false
52
53[profile.release.build-override]
54codegen-units = 8
55debug = false
56debug-assertions = false
57opt-level = 0
58overflow-checks = false