-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
66 lines (56 loc) · 1.92 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
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "alarmo"
version = "0.0.5"
description = "Provides a convenient API to bootstrap firmware and access peripherals on the Nintendo Alarmo"
authors = ["RoccoDev <hey@rocco.dev>"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/RoccoDev/alarmo-rs"
keywords = ["stm32h7xx", "stm32", "nintendo", "embedded-devices", "cortex-m"]
categories = ["embedded", "hardware-support", "no-std"]
exclude = ["/.vscode", "/.github"]
[package.metadata.docs.rs]
all-features = true
targets = ["thumbv7em-none-eabihf"]
[dependencies]
cortex-m = "0.7.5"
cortex-m-rt = { version = "0.7.5", features = ["set-vtor", "set-sp", "zero-init-ram"] }
stm32h7xx-hal = { version = "0.16.0", features = ["stm32h735", "fmc", "rt"] }
embedded-hal = "1.0"
micromath = "2.1.0"
display-interface = { version = "0.5.0", optional = true }
embedded-alloc = { version = "0.6.0", optional = true }
mipidsi = { version = "0.8.0", optional = true }
embedded-graphics = { version = "0.8.1", optional = true }
usb-device = { version = "0.3", optional = true }
[features]
default = []
display = ["display-interface"]
display-mipidsi = ["display", "mipidsi", "embedded-graphics"]
alloc = ["embedded-alloc", "cortex-m/critical-section-single-core"]
panic = ["display-mipidsi"]
usb = ["usb-device", "stm32h7xx-hal/usb_hs"]
emmc = ["stm32h7xx-hal/sdmmc"]
[dev-dependencies]
panic-halt = "1.0.0"
panic-rtt-target = { version = "0.1.0", features = ["cortex-m"] }
usbd-serial = { version = "0.2.0" }
usbd-storage = { version = "1.0.0", features = ["scsi", "bbb"] }
[[example]]
name = "lcd"
required-features = ["display"]
[[example]]
name = "alloc"
required-features = ["alloc", "display"]
[[example]]
name = "panic"
required-features = ["alloc", "panic"]
[[example]]
name = "usb_serial"
required-features = ["usb"]
[[example]]
name = "usb_serial_interrupt"
required-features = ["usb"]
[[example]]
name = "usb_scsi"
required-features = ["usb", "emmc", "panic", "alloc"]