-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
46 lines (40 loc) · 1.11 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
[package]
name = "blinky"
version = "0.1.0"
edition = "2021"
authors = ["@imrank <immu0396@gmail.com>"]
categories = ["embedded", "no_std"]
description = """
STM32 Blinky project, written in pure-Rust.
"""
documentation = ""
homepage = ""
keywords = ["LED", "Delay"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/imrank03/blinky.git"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7.3"
defmt = "0.3.2"
defmt-rtt = {version = "0.4.0"}
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
panic-halt = "0.2.0"
stm32f0xx-hal = { version = "0.18.0", default-features = false, features = ["rt", "stm32f091"]}
[dependencies.stm32f0]
version = "0.15.1"
features = ["stm32f0x1"]
[profile.release]
debug = true
lto = true #Link-Time Optimization
opt-level = "s"
[features]
default = ['defmt-default']
# these features are required by defmt
defmt-debug = []
defmt-default = []
defmt-error = []
defmt-info = []
defmt-trace = []
defmt-warn = []