forked from lulf/microbit-bsp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (52 loc) · 1.44 KB
/
Cargo.toml
File metadata and controls
56 lines (52 loc) · 1.44 KB
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
55
56
[package]
name = "microbit-bsp"
version = "0.4.0"
edition = "2021"
description = "An embassy-based boards support package (BSP) for BBC Micro:bit v2"
license = "MIT OR Apache-2.0"
keywords = ["embedded", "async", "nordic", "nrf", "microbit"]
categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
repository = "https://github.com/lulf/microbit-bsp"
rust-version = "1.83"
[dependencies]
embassy-nrf = { version = "0.4.1", features = [
"gpiote",
"nfc-pins-as-gpio",
"nrf52833",
"time-driver-rtc1",
"time",
] }
embassy-time = { version = "0.4", default-features = false }
embassy-sync = { version = "0.7.0" }
cortex-m = { version = "0.7.6" }
embedded-hal = "1.0"
lsm303agr = { version = "1.1.0", features = ["async"] }
futures = { version = "0.3", default-features = false }
defmt = { version = "^1.0.1", optional = true }
heapless = "0.8.0"
# trouble bluetooth dependencies
nrf-sdc = { version = "0.1", default-features = false, features = [
"defmt",
"peripheral",
"nrf52833",
], optional = true }
nrf-mpsl = { version = "0.1", default-features = false, features = [
"defmt",
"critical-section-impl",
], optional = true }
static_cell = "2"
[features]
default = ["defmt"]
defmt = [
"dep:defmt",
"embassy-nrf/defmt",
"heapless/defmt-03",
"embassy-time/defmt",
"embassy-time/defmt-timestamp-uptime",
]
trouble = [
"embassy-nrf/unstable-pac",
"embassy-nrf/rt",
"nrf-sdc",
"nrf-mpsl",
]