1
1
[package ]
2
2
name = " microbit-bsp"
3
- version = " 0.4.1 "
3
+ version = " 0.5.0 "
4
4
edition = " 2021"
5
5
description = " An embassy-based boards support package (BSP) for BBC Micro:bit v2"
6
6
license = " MIT OR Apache-2.0"
7
7
keywords = [" embedded" , " async" , " nordic" , " nrf" , " microbit" ]
8
8
categories = [" embedded" , " hardware-support" , " no-std" , " asynchronous" ]
9
9
repository = " https://github.com/lulf/microbit-bsp"
10
+ rust-version = " 1.83"
10
11
11
12
12
13
[dependencies ]
13
- embassy-nrf = { version = " 0.2.0" , features = [" nrf52833" ," gpiote" ," time-driver-rtc1" ," nfc-pins-as-gpio" ," time" ] }
14
- embassy-time = { version = " 0.3" , default-features = false }
15
- embassy-sync = { version = " 0.6" , default-features = false }
16
- cortex-m = " 0.7"
14
+ embassy-nrf = { version = " 0.3" , default-features = false , features = [
15
+ " gpiote" ,
16
+ " nfc-pins-as-gpio" ,
17
+ " nrf52833" ,
18
+ " time-driver-rtc1" ,
19
+ ] }
20
+ embassy-time = { version = " 0.4" , default-features = false }
21
+ embassy-sync = { version = " 0.6.2" }
22
+ cortex-m = { version = " 0.7.6" }
17
23
embedded-hal = " 1.0"
18
24
lsm303agr = " 1.1.0"
19
25
futures = { version = " 0.3" , default-features = false }
26
+
20
27
defmt = { version = " 0.3" , optional = true }
21
28
heapless = " 0.8.0"
22
29
23
30
# trouble bluetooth dependencies
24
31
nrf-sdc = { git = " https://github.com/alexmoon/nrf-sdc.git" , default-features = false , features = [
25
- " defmt" ,
26
- " peripheral" ,
27
- " central" ,
28
- " nrf52833"
29
- ], rev = " 3702af909d31cd81c62f15e1aa9d5f637ec935fa" , optional = true }
30
- nrf-mpsl = { git = " https://github.com/alexmoon/nrf-sdc.git" , default-features = false , features = [
31
- " defmt" ,
32
- " critical-section-impl"
33
- ], rev = " 3702af909d31cd81c62f15e1aa9d5f637ec935fa" , optional = true }
32
+ " defmt" ,
33
+ " peripheral" ,
34
+ " nrf52833" ,
35
+ ], rev = " 551a95436e999b4290b4a33383aa3d6747b63dd9" , optional = true }
36
+ nrf-mpsl = { git = " https://github.com/alexmoon/nrf-sdc.git" , default-features = false , features = [
37
+ " defmt" ,
38
+ " critical-section-impl" ,
39
+ ], rev = " 551a95436e999b4290b4a33383aa3d6747b63dd9" , optional = true }
34
40
static_cell = { version = " 2" , optional = true }
35
41
36
42
37
43
[features ]
38
44
default = [" defmt" ]
39
- defmt = [" dep:defmt" , " embassy-nrf/defmt" , " heapless/defmt-03" ]
40
- trouble = [" embassy-nrf/unstable-pac" , " embassy-nrf/rt" , " nrf-sdc" , " nrf-mpsl" , " static_cell" ]
45
+ defmt = [
46
+ " dep:defmt" ,
47
+ " embassy-nrf/defmt" ,
48
+ " heapless/defmt-03" ,
49
+ " embassy-time/defmt" ,
50
+ " embassy-time/defmt-timestamp-uptime" ,
51
+ ]
52
+ trouble = [
53
+ " embassy-nrf/unstable-pac" ,
54
+ " embassy-nrf/rt" ,
55
+ " nrf-sdc" ,
56
+ " nrf-mpsl" ,
57
+ " static_cell" ,
58
+ ]
0 commit comments