Blinky STM32F3-DISCOVERY
This commit is contained in:
17
Cargo.toml
17
Cargo.toml
@@ -1,8 +1,8 @@
|
||||
[package]
|
||||
authors = ["{{authors}}"]
|
||||
authors = ["jasper"]
|
||||
edition = "2018"
|
||||
readme = "README.md"
|
||||
name = "{{project-name}}"
|
||||
name = "embedded-rs"
|
||||
version = "0.1.0"
|
||||
|
||||
[dependencies]
|
||||
@@ -10,6 +10,7 @@ cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
|
||||
cortex-m-rt = "0.7"
|
||||
cortex-m-semihosting = "0.5"
|
||||
panic-halt = "1.0.0"
|
||||
# stm32f3 = "0.7.1"
|
||||
|
||||
# Uncomment for the panic example.
|
||||
# panic-itm = "0.4.1"
|
||||
@@ -20,17 +21,17 @@ panic-halt = "1.0.0"
|
||||
# Uncomment for the device example.
|
||||
# Update `memory.x`, set target to `thumbv7em-none-eabihf` in `.cargo/config`,
|
||||
# and then use `cargo build --example device` to build it.
|
||||
# [dependencies.stm32f3]
|
||||
# features = ["stm32f303", "rt"]
|
||||
# version = "0.7.1"
|
||||
[dependencies.stm32f3]
|
||||
features = ["stm32f303", "rt"]
|
||||
version = "^0.16.0"
|
||||
|
||||
# this lets you use `cargo fix`!
|
||||
[[bin]]
|
||||
name = "{{project-name}}"
|
||||
name = "embedded-rs"
|
||||
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
|
||||
debug = true # symbols are nice and they don't increase the size on Flash
|
||||
lto = true # better optimizations
|
||||
|
||||
Reference in New Issue
Block a user