aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml52
1 files changed, 52 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..05de164
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,52 @@
+[package]
+edition = "2021"
+name = "t114-meshcore-example"
+version = "0.1.0"
+license = "MIT OR Apache-2.0"
+publish = false
+
+[features]
+default = ["display"]
+display = ["dep:ssd1322", "dep:display-interface-spi"]
+
+[dependencies]
+
+# LoRa
+lora-phy = "3.0"
+MeshCore = { git = "https://git.housedillon.com/wdillon/Meshcore-rs.git", branch = "s-ol/non-owned", default-features = false }
+# lora-phy = { workspace = true, features = ["lorawan-radio"] }
+
+# utilities
+hex = { version = "*", features = ["alloc"], default-features = false }
+arrayvec = { version = "*", default-features = false }
+
+# logging
+defmt = "1.0"
+defmt-rtt = "1.0"
+
+# display
+display-interface-spi = { version = "0.5.0", optional = true }
+ssd1322 = { version = "0.3", optional = true }
+embedded-hal-bus = { version = "0.3", features = ["async"] }
+embedded-graphics = "0.8"
+
+# platform deps
+embassy-nrf = { version = "0.8.0", features = ["defmt", "nrf52840", "time-driver-rtc1", "time", "nfc-pins-as-gpio", "gpiote"] }
+embassy-sync = "0.7.2"
+embassy-time = "0.5.0"
+embassy-executor = { version = "0.9.0", features = ["arch-cortex-m", "executor-thread", "executor-interrupt"] }
+embedded-alloc = "0.6.0"
+embedded-hal = "1.0"
+cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
+cortex-m-rt = "0.7.0"
+panic-probe = { version = "1.0.0", features = ["print-defmt"] }
+
+[profile.release]
+debug = 2
+
+[package.metadata.embassy]
+build = [{ target = "thumbv7em-none-eabi", artifact-dir = "out/t114" }]
+
+[patch.crates-io]
+ssd1322 = { git = "https://github.com/s-ol/ssd1322-rs.git", branch = "display-interface" }
+display-interface-spi = { git = "https://github.com/therealprof/display-interface.git", commit = "9b915f93" }