-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
57 lines (44 loc) · 1.22 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
[package]
authors = ["Andrei"]
edition = "2018"
readme = "README.md"
name = "m0test"
version = "0.1.0"
[dependencies]
cortex-m = "0.7"
cortex-m-rt = "0.7"
cortex-m-semihosting = "0.3.3"
rtt-target = {version = "0.3.1", features=["cortex-m"]}
panic-rtt-target = {version = "0.1.2", features=["cortex-m"]}
stm32f0xx-hal = { version = "0.18", features = ["stm32f030x8"]}
[dev-dependencies]
# AHT10 example
aht10 = { path = "aht10" }
# LCD screen example
ssd1306 = "*"
embedded-graphics = "0.7.1"
alloc-cortex-m = "0.4.0"
# snake_game
embedded-hal = "0.2.7"
smart-leds = "0.3.0"
ws2812-blocking-spi = "0.1.0"
rand = {version = "*", default-features=false}
rand_chacha = {version = "*", default-features=false}
# Neopixel-demo
ws2812-spi = "0.4.0"
ws2812-timer-delay = {version = "0.3.0", features = ["slow"]}
anyhow = { version = "*", default-features = false }
spi-constants = { path = "spi_constants" }
# a4988_step_motor_driver
stm32f0 = "0.14.0"
# led_panel_graphics
smart-leds-trait = "*"
# this lets you use `cargo fix`!
[[bin]]
name = "m0test"
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