-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
46 lines (41 loc) · 1.08 KB
/
Cargo.toml
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
[package]
authors = ["Jonathan Pallant (42 Technology) <[email protected]"]
edition = "2018"
readme = "README.md"
name = "nrf9160-demo"
version = "0.2.0"
[dependencies]
cortex-m = "0.6"
cortex-m-rt = "0.6"
embedded-hal = { version = "0.2.2", features = ["unproven"] }
nb = "*"
void = { version = "1.0.2", default-features = false }
spin = "0.5"
nrfxlib = "0.2"
menu = "0.2"
tinyrlibc = "0.1.2"
heapless = "0.5"
nrf9160-dk-bsp = { git = "https://github.com/nrf-rs/nrf52-hal", optional = true }
actinius-icarus-bsp = { git = "https://github.com/nrf-rs/nrf52-hal", optional = true }
# this lets you use `cargo fix`!
[[bin]]
name = "nrf9160-demo"
test = false
bench = false
[profile.release]
codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations
incremental = false
opt-level = "z"
[profile.dev]
debug = true
lto = false
incremental = false
opt-level = 1
[features]
# no features by default
default = []
verbose-trace = []
icarus = [ "actinius-icarus-bsp" ]
nrf9160dk = [ "nrf9160-dk-bsp" ]