1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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" }
|