diff --git a/Cargo.toml b/Cargo.toml index b959bb83852325dfdee390cac59616a5fe22a9e3..5d7dba6e6651c71ebdce5fb8dea5e3dbd1d01e17 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,21 +9,33 @@ repository = "https://github.com/japaric/blue-pill" version = "0.1.0" [dependencies] -static-ref = "0.1.0" -stm32f103xx = "0.6.1" +static-ref = "0.2.0" volatile-register = "0.2.0" [dependencies.cast] default-features = false version = "0.2.2" -[dependencies.either] -default-features = false -version = "1.1.0" - [dependencies.embedded-hal] git = "https://github.com/japaric/embedded-hal" rev = "5295697669f5b48a900aa325b8ebb4d4e8d4b236" [dependencies.nb] git = "https://github.com/japaric/nb" + +[dependencies.stm32f103xx] +features = ["rt"] +version = "0.7.2" + +[dev-dependencies] +cortex-m = "0.3.0" +cortex-m-rtfm = "0.2.0" +cortex-m-semihosting = "0.2.0" + +[dev-dependencies.cortex-m-rt] +features = ["abort-on-panic"] +version = "0.3.5" + +[profile.release] +debug = true +lto = true