aboutsummaryrefslogtreecommitdiff
path: root/examples/mcxa/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mcxa/Cargo.toml')
-rw-r--r--examples/mcxa/Cargo.toml35
1 files changed, 35 insertions, 0 deletions
diff --git a/examples/mcxa/Cargo.toml b/examples/mcxa/Cargo.toml
new file mode 100644
index 000000000..347659f5b
--- /dev/null
+++ b/examples/mcxa/Cargo.toml
@@ -0,0 +1,35 @@
1[package]
2name = "embassy-mcxa-examples"
3version = "0.1.0"
4edition = "2021"
5license = "MIT OR Apache-2.0"
6publish = false
7
8[dependencies]
9cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
10cortex-m-rt = { version = "0.7", features = ["set-sp", "set-vtor"] }
11crc = "3.4.0"
12critical-section = "1.2.0"
13defmt = "1.0"
14defmt-rtt = "1.0"
15embassy-embedded-hal = "0.5.0"
16embassy-executor = { version = "0.9.0", features = ["arch-cortex-m", "executor-interrupt", "executor-thread"], default-features = false }
17embassy-mcxa = { path = "../../embassy-mcxa", features = ["defmt", "unstable-pac", "time"] }
18embassy-sync = "0.7.2"
19embassy-time = "0.5.0"
20embassy-time-driver = "0.2.1"
21embedded-io-async = "0.6.1"
22heapless = "0.9.2"
23panic-probe = { version = "1.0", features = ["print-defmt"] }
24rand_core = "0.9"
25static_cell = "2.1.1"
26tmp108 = "0.4.0"
27
28[profile.release]
29lto = true # better optimizations
30debug = 2 # enough information for defmt/rtt locations
31
32[package.metadata.embassy]
33build = [
34 { target = "thumbv8m.main-none-eabihf", artifact-dir = "out/examples/mcxa" }
35]