From 3c71e3a2a3af39d579c2649fddf0c8ba835bfa01 Mon Sep 17 00:00:00 2001 From: Marc Poulhiès Date: Thu, 7 Jul 2022 21:51:38 +0200 Subject: Move rust firmware in subdir ... for the upcoming Ada one. --- firmware/rust/Cargo.toml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 firmware/rust/Cargo.toml (limited to 'firmware/rust/Cargo.toml') diff --git a/firmware/rust/Cargo.toml b/firmware/rust/Cargo.toml new file mode 100644 index 0000000..54f44cc --- /dev/null +++ b/firmware/rust/Cargo.toml @@ -0,0 +1,29 @@ +[package] +name = "pouetpouet" +version = "0.1.0" +authors = ["Marc Poulhiès ", "Guillaume Pinot "] +edition = "2018" + +[dependencies] +stm32f0xx-hal = { git = "https://github.com/dkm/stm32f0xx-hal/", features = ["rt", "stm32f072", "stm32-usbd"] } +##stm32f0xx-hal = { version = "0.17.0", features = ["rt", "stm32f072", "stm32-usbd"] } +cortex-m = "0.7" +cortex-m-rt = { version = "0.7", features = ["device"] } +panic-halt = "0.2" +keyberon = { git = "https://github.com/TeXiToi/keyberon" } +cortex-m-rtic = { version = "0.5", default-features = false, features = ["cortex-m-7"] } +embedded-hal = "0.2" +usb-device = "0.2" +nb = "1.0" +ws2812-spi = "0.4" +smart-leds = "0.3" + +[profile.release] +lto = true +incremental = false +opt-level = "z" +debug = true + +[features] +default = [ ] +testmode = [ ] -- cgit v1.2.3