-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
54 lines (48 loc) · 1.36 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
47
48
49
50
51
52
53
54
[package]
name = "ble-gamepad"
version = "0.1.0"
edition = "2021"
[dependencies]
cortex-m = { version = "0.7.6" }
cortex-m-rt = "0.7"
lsm303agr = "1.1.0"
heapless = "0.8.0"
defmt-rtt = "0.4"
defmt = "0.3"
panic-probe = { version = "0.3", features = ["print-defmt"] }
# embassy dependencies
embassy-sync = { version = "^0.6.0", default-features = false, features = [
"defmt",
] }
embassy-futures = { version = "^0.1.0", default-features = false }
embassy-executor = { version = "^0.6.1", default-features = false, features = [
"integrated-timers",
"defmt",
"arch-cortex-m",
"executor-interrupt",
"executor-thread",
"task-arena-size-32768",
] }
embassy-time = { version = "^0.3.0", default-features = false, features = [
"defmt",
"defmt-timestamp-uptime",
] }
# nrf52833 dependencies
microbit-bsp = { git = "https://github.com/jamessizeland/microbit-bsp.git", branch = "trouble", features = [
"trouble",
] }
# microbit-bsp = { path = "../microbit-bsp", features = ["trouble"] }
# BLE dependencies
bt-hci = { version = "0.1.1", default-features = false, features = ["defmt"] }
trouble-host = { git = "https://github.com/embassy-rs/trouble.git", features = [
"defmt",
], branch = "main" }
static_cell = "2.1.0"
[profile.release]
codegen-units = 1
debug = 2
debug-assertions = true
incremental = false
lto = 'fat'
opt-level = 3
overflow-checks = false