diff options
| author | i509VCB <[email protected]> | 2025-04-06 21:13:49 -0500 |
|---|---|---|
| committer | i509VCB <[email protected]> | 2025-04-06 21:15:42 -0500 |
| commit | 1e23b8114bb1f4b9e092bc50b3cfe4bd2f7ebdb6 (patch) | |
| tree | 78f39de51ef1e399b9e4b0d3786a095134838790 /tests/mspm0/Cargo.toml | |
| parent | 717fbc1cd9a038d6601721a6e84f58be264ee624 (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.toml | 58 |
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] | ||
| 2 | edition = "2021" | ||
| 3 | name = "embassy-mspm0-tests" | ||
| 4 | version = "0.1.0" | ||
| 5 | license = "MIT OR Apache-2.0" | ||
| 6 | |||
| 7 | [features] | ||
| 8 | mspm0g3507 = [ "embassy-mspm0/mspm0g350x" ] | ||
| 9 | |||
| 10 | [dependencies] | ||
| 11 | teleprobe-meta = "1.1" | ||
| 12 | |||
| 13 | embassy-sync = { version = "0.6.2", path = "../../embassy-sync", features = [ "defmt" ] } | ||
| 14 | embassy-executor = { version = "0.7.0", path = "../../embassy-executor", features = [ "arch-cortex-m", "executor-thread", "defmt" ] } | ||
| 15 | embassy-time = { version = "0.4.0", path = "../../embassy-time", features = [ "defmt" ] } | ||
| 16 | embassy-mspm0 = { version = "0.1.0", path = "../../embassy-mspm0", features = [ "rt", "defmt", "unstable-pac", "time-driver-any" ] } | ||
| 17 | embassy-embedded-hal = { version = "0.3.0", path = "../../embassy-embedded-hal/"} | ||
| 18 | |||
| 19 | defmt = "1.0.1" | ||
| 20 | defmt-rtt = "1.0.0" | ||
| 21 | |||
| 22 | cortex-m = { version = "0.7.6", features = [ "inline-asm", "critical-section-single-core" ]} | ||
| 23 | cortex-m-rt = "0.7.0" | ||
| 24 | embedded-hal = { package = "embedded-hal", version = "1.0" } | ||
| 25 | embedded-hal-async = { version = "1.0" } | ||
| 26 | panic-probe = { version = "0.3.0", features = ["print-defmt"] } | ||
| 27 | static_cell = "2" | ||
| 28 | portable-atomic = { version = "1.5", features = ["critical-section"] } | ||
| 29 | |||
| 30 | [profile.dev] | ||
| 31 | debug = 2 | ||
| 32 | debug-assertions = true | ||
| 33 | opt-level = 's' | ||
| 34 | overflow-checks = true | ||
| 35 | |||
| 36 | [profile.release] | ||
| 37 | codegen-units = 1 | ||
| 38 | debug = 2 | ||
| 39 | debug-assertions = false | ||
| 40 | incremental = false | ||
| 41 | lto = "fat" | ||
| 42 | opt-level = 's' | ||
| 43 | overflow-checks = false | ||
| 44 | |||
| 45 | # do not optimize proc-macro crates = faster builds from scratch | ||
| 46 | [profile.dev.build-override] | ||
| 47 | codegen-units = 8 | ||
| 48 | debug = false | ||
| 49 | debug-assertions = false | ||
| 50 | opt-level = 0 | ||
| 51 | overflow-checks = false | ||
| 52 | |||
| 53 | [profile.release.build-override] | ||
| 54 | codegen-units = 8 | ||
| 55 | debug = false | ||
| 56 | debug-assertions = false | ||
| 57 | opt-level = 0 | ||
| 58 | overflow-checks = false | ||
