forked from ah-/anne-key
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
66 lines (54 loc) · 1.31 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]
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.4", features = ["const-fn"] }
bit_field = "0.9.0"
cortex-m = "0.5.8"
cortex-m-rt = "0.6.7"
cortex-m-semihosting = "0.3.2"
nb = "0.1.1"
vcell = "0.1.0"
[dependencies.rtfm]
package = "cortex-m-rtfm"
git = "https://github.com/hdhoang/cortex-m-rtfm"
branch = "v0.3-with-cortex-m-v0.5"
[dependencies.hal]
package = "stm32l151-hal"
git = "https://github.com/hdhoang/stm32l151-hal"
branch = "stm32l1-0.6"
[dependencies.embedded-hal]
features = ["unproven"]
version = "0.2.2"
[dependencies.stm32l1]
features = ["stm32l151", "rt"]
version = "0.6.0"
[dependencies.panic-abort]
version = "0.3.1"
optional = true
[dependencies.panic-semihosting]
version = "0.5.1"
optional = true
[dependencies.scroll]
version = "0.9.2"
default-features = false
[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
[workspace]
members = ["tests"]