-
Notifications
You must be signed in to change notification settings - Fork 32
/
Cargo.toml
57 lines (48 loc) · 1.15 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
[package]
edition = "2018"
name = "anne-key"
description = "Firmware for Anne Pro Keyboard"
repository = "https://github.com/ah-/anne-key"
keywords = ["no-std", "arm", "cortex-m", "anne", "pro", "keyboard"]
categories = ["embedded", "no-std"]
authors = ["Andreas Heider <[email protected]>"]
license = "Apache-2.0"
version = "0.0.2"
[dependencies]
bare-metal = { version = "0.2.5", features = ["const-fn"] }
bit_field = "0.10.0"
cortex-m = "0.6.2"
cortex-m-rt = "0.6.12"
cortex-m-semihosting = "0.3.5"
nb = "0.1.2"
vcell = "0.1.2"
[dependencies.rtfm]
package = "cortex-m-rtfm"
version = "0.4.2"
[dependencies.stm32l1]
features = ["stm32l151", "rt"]
version = "0.11.0"
[dependencies.hal]
package = "stm32l151-hal"
git = "https://github.com/hdhoang/stm32l151-hal"
branch = "stm32l1-0.11"
[dependencies.embedded-hal]
features = ["unproven"]
version = "0.2.3"
[dependencies.panic-abort]
version = "0.3.2"
optional = true
[dependencies.panic-semihosting]
version = "0.5.3"
optional = true
[features]
default = ["panic-abort"]
use_semihosting = ["panic-semihosting"]
[profile.release]
debug = true
lto = true
opt-level = 3
[profile.dev]
debug = true
lto = false
opt-level = 3