2020-07-08 04:55:16 +00:00
|
|
|
[package]
|
|
|
|
name = "blue_pill_base"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Levi Pearson <levipearson@gmail.com>"]
|
|
|
|
description = "Base binary crate for STM32F103 Blue Pill boards"
|
|
|
|
categories = ["embedded", "no-std"]
|
2022-02-27 06:21:54 +00:00
|
|
|
edition = "2021"
|
2020-07-08 04:55:16 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-02-27 06:21:54 +00:00
|
|
|
cortex-m = "0.7.4"
|
|
|
|
cortex-m-rt = "0.7.1"
|
2020-07-10 07:13:20 +00:00
|
|
|
embedded-hal = "0.2.4"
|
|
|
|
nb = "1.0.0"
|
2022-02-27 06:21:54 +00:00
|
|
|
stm32f1xx-hal = { version = "0.8.0", features = ["rt", "stm32f103", "medium"] }
|
|
|
|
rtt-target = { version = "0.3.1", features = ["cortex-m"] }
|
|
|
|
panic-rtt-target = { version = "0.1.0", features = ["cortex-m"] }
|
|
|
|
# alternate panic impls, choose only one!
|
|
|
|
# panic-halt
|
|
|
|
# panic-semihosting # requires cortex-m-semihosting
|
|
|
|
# panic-itm
|
|
|
|
# panic-abort
|
|
|
|
# panic-ramdump
|
|
|
|
# panic-persist
|
2020-07-08 04:55:16 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "blue_pill_base"
|
|
|
|
test = false
|
|
|
|
bench = false
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
|
|
|
debug = true
|