forked from stm32-rs/stm32g4xx-hal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
59 lines (51 loc) · 1.28 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
[package]
authors = ["Vitaly Domnikov <[email protected]>"]
categories = ["embedded", "hardware-support", "no-std"]
description = "Peripheral access API for STM32G4 series microcontrollers"
documentation = "https://docs.rs/stm32g4xx-hal"
edition = "2018"
keywords = ["arm", "cortex-m", "stm32g4xx", "hal"]
license = "MIT/Apache-2.0"
name = "stm32g4xx-hal"
readme = "README.md"
repository = "https://github.com/stm32-rs/stm32g4xx-hal"
version = "0.0.0"
[dependencies]
cortex-m = "0.6.1"
nb = "0.1.1"
stm32g4 = "0.9.0"
[dependencies.bare-metal]
features = ["const-fn"]
version = "0.2.5"
[dependencies.embedded-hal]
features = ["unproven"]
version = "0.2.3"
[dependencies.void]
default-features = false
version = "1.0.2"
[dev-dependencies]
cortex-m-rt = "0.6.10"
cortex-m-rtfm = "0.5.1"
cortex-m-semihosting = "0.3.5"
panic-semihosting = "0.5.3"
panic-halt = "0.2.0"
[features]
default = ["rt"]
rt = ["stm32g4/rt"]
stm32g431 = ["stm32g4/stm32g431"]
stm32g441 = ["stm32g4/stm32g441"]
stm32g471 = ["stm32g4/stm32g471"]
stm32g473 = ["stm32g4/stm32g473"]
stm32g474 = ["stm32g4/stm32g474"]
stm32g483 = ["stm32g4/stm32g483"]
stm32g484 = ["stm32g4/stm32g484"]
[profile.dev]
codegen-units = 1
debug = true
incremental = false
lto = false
[profile.release]
debug = false
codegen-units = 1
incremental = false
lto = true