diff options
Diffstat (limited to 'sw/demo1/Cargo.toml')
-rw-r--r-- | sw/demo1/Cargo.toml | 27 |
1 files changed, 27 insertions, 0 deletions
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 <matthias.braendli@mpb.li>"] +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 |