From d547c5c5c9834dbb1dbe000b42e09b22f064f947 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 10 Apr 2020 21:47:17 +0200 Subject: Add demo1 stm32f103 example with blinky code --- sw/demo1/Cargo.toml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sw/demo1/Cargo.toml (limited to 'sw/demo1/Cargo.toml') diff --git a/sw/demo1/Cargo.toml b/sw/demo1/Cargo.toml new file mode 100644 index 0000000..7219b30 --- /dev/null +++ b/sw/demo1/Cargo.toml @@ -0,0 +1,27 @@ +[package] +name = "demo1" +version = "0.1.0" +authors = ["Matthias P. Braendli "] +edition = "2018" +license = "MIT" + +[dependencies] +# alloc-cortex-m = "0.3" # requires nightly +cortex-m = "0.6" +cortex-m-rt = "0.6" +# consider cortex-m-rtfm +cortex-m-semihosting = "0.3" +panic-semihosting = "0.5" +nb = "0.1" +#stm32h7 = { version = "0.9", features = ["stm32h743", "rt"] } +stm32f1xx-hal = { version = "0.5", features = ["rt", "stm32f103"] } +embedded-hal = { version = "0.2", features = [] } + +[profile.dev] +codegen-units = 1 +incremental = false + +[profile.release] +codegen-units = 1 +debug = true +lto = true -- cgit v1.2.3