-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
58 lines (49 loc) · 1.86 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
[package]
edition = "2021"
name = "dv6"
version = "0.1.0"
license = "MIT OR Apache-2.0"
[dependencies]
embassy-stm32 = { version = "0.1", features = ["defmt", "memory-x", "time-driver-any", "exti", "chrono"] }
embassy-sync = { version = "0.6", features = ["defmt"] }
embassy-executor = { version = "0.5", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
embassy-time = { version = "0.3", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
embassy-usb = { version = "0.2", features = ["defmt"] }
defmt = "0.3"
defmt-rtt = "0.4"
cortex-m = { version = "0.7", features = ["inline-asm", "critical-section-single-core"] }
cortex-m-rt = "0.7"
embedded-hal = "1.0"
embedded-io = { version = "0.6" }
embedded-io-async = { version = "0.6" }
panic-probe = { version = "0.3", features = ["print-defmt"] }
futures = { version = "0.3", default-features = false, features = ["async-await"] }
heapless = { version = "0.8"}
nb = "1"
#embedded-storage = "0.3.0"
micromath = "2"
#static_cell = { version = "2.1", features = ["nightly"] }
chrono = { version = "^0.4", default-features = false }
bitfield = "0.15"
buddy-alloc = "0.5"
hashbrown = "0.14"
#nanorand = { version = "0.7", default-features = false, features = ["wyrand"] }
num_enum = { version = "0.7", default-features = false }
num = { version = "0.4", default-features = false }
embedded-midi = { path = "./embedded-midi", features = ["defmt", "embassy"] }
#lvgl = { version = "0.6.2", default-features = false }
[features]
# default board for IDE development
default = ["devebox"]
rng = []
#usb = []
usb_otg = []
stm32h7 = []
stm32f4 = []
#stm32f1 = []
# todo parameterize target board
#bluepill = ["usb", "stm32f1", "embassy-stm32/stm32f103c8"]
blackpill = ["usb_otg", "stm32f4", "embassy-stm32/stm32f411ce"]
devebox = ["usb_otg", "stm32h7", "embassy-stm32/stm32h743vi"]
[profile.release]
debug = 2