-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
45 lines (40 loc) · 1.29 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
[package]
name = "bl602-hal"
version = "0.1.0"
authors = ["Sipeed Co.,Ltd. <[email protected]>", "Luo Jia <[email protected]>"]
edition = "2018"
license = "MIT OR MulanPSL-2.0"
keywords = ["hal", "bl602", "riscv"]
categories = ["embedded", "no-std", "hardware-support"]
repository = "https://github.com/sipeed/bl602-hal"
description = "HAL for the bl602 microcontroller"
[dependencies]
bl602-pac = { git = "https://github.com/sipeed/bl602-pac", branch = "main" }
embedded-hal = "1"
embedded-hal-nb = "1"
embedded-time = "0.12.0"
riscv = "0.10.1"
nb = "1.0"
paste = "1.0"
void = { default-features = false, version = "1.0.2" }
[dependencies.embedded-hal-zero]
version = "0.2.5"
package = "embedded-hal"
features = ["unproven"]
[dev-dependencies]
riscv-rt = "0.11.0"
panic-halt = "0.2.0"
ssd1306 = "0.6.0"
embedded-graphics = "0.7.1"
critical-section = "1.1"
[build-dependencies]
riscv-target = "0.1.2"
# riscv-target depends on regex, which depends on memchr.
# memchr bumped it's MSRV to 1.61 midway through 2.6.x releases
# regex increased it's MSRV to 1.65 in release 1.10.x
# pinning regex to 1.8.4 and memchr to 2.5.0 until we bump MSRV
regex = "=1.8.4"
memchr = "=2.5.0"
[features]
default = ["critical-section-impl"]
critical-section-impl = ["bl602-pac/critical-section", "riscv/critical-section-single-hart"]