-
Notifications
You must be signed in to change notification settings - Fork 30
/
Cargo.toml
46 lines (38 loc) · 1020 Bytes
/
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 = "longan-nano"
version = "0.3.0"
authors = ["Vadim Kaushan <[email protected]>"]
repository = "https://github.com/riscv-rust/longan-nano"
categories = ["embedded", "hardware-support", "no-std"]
description = "Board support package for the Longan Nano board"
keywords = ["riscv", "gd32", "bsp"]
license = "ISC"
edition = "2018"
[package.metadata.docs.rs]
features = ['lcd']
rustdoc-args = ["--cfg", "docsrs"]
default-target = "x86_64-unknown-linux-gnu"
[dependencies]
gd32vf103xx-hal = "0.5.0"
embedded-hal = "0.2.6"
nb = "1.0.0"
riscv = "0.10.1"
st7735-lcd = { version = "0.8.1", optional = true }
embedded-sdmmc = { version = "0.3.0", optional = true }
[dev-dependencies]
riscv-rt = "0.11.0"
panic-halt = "0.2.0"
embedded-graphics = "0.7.1"
ushell = "0.3.5"
[features]
lcd = ["st7735-lcd"]
sdcard = ["embedded-sdmmc"]
[[example]]
name = "display"
required-features = ["lcd"]
[[example]]
name = "ferris"
required-features = ["lcd"]
[[example]]
name = "sdcard_test"
required-features = ["sdcard"]