-
Notifications
You must be signed in to change notification settings - Fork 20
/
Cargo.toml
50 lines (43 loc) · 1.33 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
[package]
authors = ["Christopher J. McClellan <chris.mcclellan203@gmail.com>"]
edition = "2018"
readme = "README.md"
name = "stm32f3-discovery"
description = "Board support package for the STM32F3DISCOVERY board"
repository = "https://github.com/rubberduck203/stm32f3-discovery"
documentation = "https://docs.rs/crate/stm32f3-discovery"
categories = ["embedded", "hardware-support", "no-std"]
keywords = ["discovery", "stm32f3", "bsp", "arm"]
license = "MIT OR Apache-2.0"
version = "0.7.2"
exclude = [
".vscode/*",
]
[badges]
maintenance = { status = "actively-developed" }
[package.metadata.docs.rs]
default-target = "thumbv7em-none-eabihf"
targets = [] # build only default target for docs
[dependencies]
cortex-m = "0.7.2"
cortex-m-rt = "0.6.14"
switch-hal = "0.4.0"
# switch-hal = { git = "https://github.com/rubberduck203/switch-hal", branch = "master" }
lsm303dlhc = "0.2.0"
accelerometer = "0.12.0"
# For the stm32f303vc mcu
[dependencies.stm32f3xx-hal]
features = ["stm32f303xc", "rt"]
version = "0.8.0"
[dev-dependencies]
panic-halt = "0.2.0"
panic-itm = "0.4.2"
# # this lets you use `cargo fix`!
# [[bin]]
# name = "stm32f3-discovery"
# test = false
# bench = false
[profile.release]
codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations