forked from mtthw-meyer/libdaisy-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
55 lines (47 loc) · 1.88 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
[package]
authors = ["Matthew Meyer <mtthw.meyer@gmail.com>"]
edition = "2018"
description = "Hardware Abstraction Layer implementation for Daisy boards"
keywords = ["arm", "cortex-m", "stm32h7xx", "stm32h750", "hal", "embedded-hal", "daisy"]
readme = "README.md"
name = "libdaisy-rust"
version = "0.1.0"
[dependencies]
arr_macro = "0.1.3"
cfg-if = "0.1.10"
cortex-m = "0.6.2"
cortex-mpu = "0.4.0"
cortex-m-rt = "0.6.12"
cortex-m-rtic = "0.5.3"
debouncr = "0.1.2"
log = "0.4.11"
micromath = "1.0.1"
panic-halt = "0.2.0"
stm32h7xx-hal = { version = "0.6.0", features = ["stm32h750v","rt"], git = "https://github.com/mtthw-meyer/stm32h7xx-hal.git", branch = "sai-i2s-v0.2.x-1" }
rtt-target = { version = "0.2.0", features = ["cortex-m"], optional = true }
panic-rtt-target = { version = "0.1.0", features = ["cortex-m"], optional = true }
lazy_static = { version = "1.4.0", features = ["spin_no_std"], optional = true }
cortex-m-log = { version = "~0.6", features = ["itm", "semihosting", "log-integration"], optional = true }
panic-itm = { version = "~0.4.1", optional = true }
panic-semihosting = { version = "0.5.3", optional = true }
cortex-m-semihosting = { version = "0.3.5", optional = true }
[features]
default = []
log-rtt = ["rtt-target", "panic-rtt-target"]
log-itm = ["panic-itm", "lazy_static", "cortex-m-log"]
log-semihosting = ["panic-semihosting", "lazy_static", "cortex-m-log", "cortex-m-semihosting"]
# this lets you use `cargo fix`!
#[[bin]]
#name = "libdaisy-rust"
#test = false
#bench = false
[profile.dev]
codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size in flash
incremental = false
opt-level = "s" # optimize for binary size
[profile.release]
codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size in flash
lto = true # better optimizations
opt-level = "s" # optimize for binary size