From 69e29351587ba7577b12578972ac4c4f6e71531f Mon Sep 17 00:00:00 2001 From: Ahmed Charles Date: Sat, 7 Oct 2023 20:16:49 -0700 Subject: [PATCH] Use workspace depdencies. Should make managing boards much easier. --- Cargo.toml | 33 +++++++++++++ boards/adafruit-feather-rp2040/Cargo.toml | 20 ++++---- boards/adafruit-itsy-bitsy-rp2040/Cargo.toml | 20 ++++---- boards/adafruit-kb2040/Cargo.toml | 22 ++++----- boards/adafruit-macropad/Cargo.toml | 12 ++--- boards/adafruit-qt-py-rp2040/Cargo.toml | 18 +++---- boards/adafruit-trinkey-qt2040/Cargo.toml | 18 +++---- boards/arduino_nano_connect/Cargo.toml | 18 +++---- boards/boardsource-blok/Cargo.toml | 26 +++++----- boards/pimoroni-pico-explorer/Cargo.toml | 26 +++++----- boards/pimoroni-pico-lipo-16mb/Cargo.toml | 14 +++--- boards/pimoroni-plasma-2040/Cargo.toml | 26 +++++----- boards/pimoroni-servo2040/Cargo.toml | 24 ++++----- boards/pimoroni-tiny2040/Cargo.toml | 16 +++--- boards/pimoroni_badger2040/Cargo.toml | 14 +++--- boards/rp-pico/Cargo.toml | 52 ++++++++++---------- boards/seeeduino-xiao-rp2040/Cargo.toml | 16 +++--- boards/solderparty-rp2040-stamp/Cargo.toml | 20 ++++---- boards/sparkfun-micromod-rp2040/Cargo.toml | 22 ++++----- boards/sparkfun-pro-micro-rp2040/Cargo.toml | 20 ++++---- boards/sparkfun-thing-plus-rp2040/Cargo.toml | 20 ++++---- boards/vcc-gnd-yd-rp2040/Cargo.toml | 24 ++++----- boards/waveshare-rp2040-lcd-0-96/Cargo.toml | 20 ++++---- boards/waveshare-rp2040-zero/Cargo.toml | 20 ++++---- 24 files changed, 277 insertions(+), 244 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 960a2e83..9d3e91ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,3 +25,36 @@ members = [ "boards/waveshare-rp2040-zero", "boards/waveshare-rp2040-lcd-0-96", ] + +[workspace.dependencies] +arrayvec = { version = "0.7.4", default-features = false } +cortex-m = "0.7.7" +cortex-m-rt = "0.7.3" +cortex-m-rtic = "1.1.4" +critical-section = "1.1.2" +defmt = "0.3.5" +defmt-rtt = "0.4.0" +display-interface = "0.4.1" +display-interface-spi = "0.4.1" +embedded-graphics = "0.7.1" +embedded-hal ="0.2.7" +embedded-sdmmc = "0.5.0" +fugit = "0.3.7" +hd44780-driver = "0.4.0" +heapless = "0.7.16" +i2c-pio = "0.7.0" +nb = "1.1" +panic-halt= "0.2.0" +panic-probe = "0.3.1" +pio = "0.2.1" +pio-proc = "0.2.2" +rp2040-boot2 = "0.3.0" +rp2040-hal = "0.9.0" +st7789 = "0.6.1" +st7735-lcd = "0.8.1" +smart-leds = "0.3.0" +ssd1306 = "0.7.1" +usb-device = "0.2.9" +usbd-hid = "0.5.2" +usbd-serial = "0.1.1" +ws2812-pio = "0.7.0" diff --git a/boards/adafruit-feather-rp2040/Cargo.toml b/boards/adafruit-feather-rp2040/Cargo.toml index 3fb23603..0f8ae786 100644 --- a/boards/adafruit-feather-rp2040/Cargo.toml +++ b/boards/adafruit-feather-rp2040/Cargo.toml @@ -11,18 +11,18 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -cortex-m = "0.7.7" -panic-halt= "0.2.0" -embedded-hal ="0.2.7" -fugit = "0.3.7" -nb = "1.1.0" -smart-leds = "0.3.0" -ws2812-pio = "0.7.0" +cortex-m.workspace = true +panic-halt.workspace = true +embedded-hal.workspace = true +fugit.workspace = true +nb.workspace = true +smart-leds.workspace = true +ws2812-pio.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/adafruit-itsy-bitsy-rp2040/Cargo.toml b/boards/adafruit-itsy-bitsy-rp2040/Cargo.toml index 793db82c..3c2e366e 100644 --- a/boards/adafruit-itsy-bitsy-rp2040/Cargo.toml +++ b/boards/adafruit-itsy-bitsy-rp2040/Cargo.toml @@ -11,18 +11,18 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -cortex-m = "0.7.7" -panic-halt= "0.2.0" -embedded-hal ="0.2.7" -smart-leds = "0.3" -nb = "1.1.0" -ws2812-pio = "0.7.0" -fugit = "0.3.7" +cortex-m.workspace = true +panic-halt.workspace = true +embedded-hal.workspace = true +smart-leds.workspace = true +nb.workspace = true +ws2812-pio.workspace = true +fugit.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/adafruit-kb2040/Cargo.toml b/boards/adafruit-kb2040/Cargo.toml index 444a5034..fd70306f 100644 --- a/boards/adafruit-kb2040/Cargo.toml +++ b/boards/adafruit-kb2040/Cargo.toml @@ -4,25 +4,25 @@ version = "0.7.0" authors = ["Andrew Christiansen ", "The rp-rs Developers"] edition = "2018" homepage = "https://github.com/rp-rs/rp-hal-boards/tree/main/boards/adafruit-kb2040" -description = "Board Support Package for the Adafruit adafruit-kb2040" +description = "Board Support Package for the Adafruit KB2040" license = "MIT OR Apache-2.0" repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7.3", optional = true } -embedded-hal = { version = "0.2.7", features = ["unproven"] } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +embedded-hal = { workspace = true, features = ["unproven"] } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -panic-halt = "0.2.0" -rp2040-boot2 = "0.3" -smart-leds = "0.3.0" -fugit = "0.3.7" -nb = "1.1.0" -ws2812-pio = "0.7.0" +panic-halt.workspace = true +rp2040-boot2.workspace = true +smart-leds.workspace = true +fugit.workspace = true +nb.workspace = true +ws2812-pio.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/adafruit-macropad/Cargo.toml b/boards/adafruit-macropad/Cargo.toml index 01ec9d10..67fc0281 100644 --- a/boards/adafruit-macropad/Cargo.toml +++ b/boards/adafruit-macropad/Cargo.toml @@ -11,14 +11,14 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -cortex-m = "0.7.7" -embedded-hal ="0.2.7" -panic-halt= "0.2.0" +cortex-m.workspace = true +embedded-hal.workspace = true +panic-halt.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/adafruit-qt-py-rp2040/Cargo.toml b/boards/adafruit-qt-py-rp2040/Cargo.toml index 4bfd47b0..6478cf2e 100644 --- a/boards/adafruit-qt-py-rp2040/Cargo.toml +++ b/boards/adafruit-qt-py-rp2040/Cargo.toml @@ -11,17 +11,17 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -panic-halt= "0.2.0" -embedded-hal ="0.2.7" -smart-leds = "0.3" -nb = "1.1.0" -ws2812-pio = "0.7.0" -fugit = "0.3.7" +panic-halt.workspace = true +embedded-hal.workspace = true +smart-leds.workspace = true +nb.workspace = true +ws2812-pio.workspace = true +fugit.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/adafruit-trinkey-qt2040/Cargo.toml b/boards/adafruit-trinkey-qt2040/Cargo.toml index de7133bb..e314218b 100644 --- a/boards/adafruit-trinkey-qt2040/Cargo.toml +++ b/boards/adafruit-trinkey-qt2040/Cargo.toml @@ -11,17 +11,17 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7.3", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -panic-halt= "0.2.0" -embedded-hal ="0.2.7" -smart-leds = "0.3" -nb = "1.1.0" -ws2812-pio = "0.7.0" -fugit = "0.3.7" +panic-halt.workspace = true +embedded-hal.workspace = true +smart-leds.workspace = true +nb.workspace = true +ws2812-pio.workspace = true +fugit.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/arduino_nano_connect/Cargo.toml b/boards/arduino_nano_connect/Cargo.toml index aadeca1b..066fdbd6 100644 --- a/boards/arduino_nano_connect/Cargo.toml +++ b/boards/arduino_nano_connect/Cargo.toml @@ -11,17 +11,17 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7.3", optional = true } -embedded-hal = { version = "0.2.7", features = ["unproven"] } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +embedded-hal = { workspace = true, features = ["unproven"] } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -cortex-m = "0.7.7" -panic-halt= "0.2.0" -embedded-hal ="0.2.7" -nb = "1.1" -fugit = "0.3.7" +cortex-m.workspace = true +panic-halt.workspace = true +embedded-hal.workspace = true +nb.workspace = true +fugit.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/boardsource-blok/Cargo.toml b/boards/boardsource-blok/Cargo.toml index 3c9e4024..16f0cc0c 100644 --- a/boards/boardsource-blok/Cargo.toml +++ b/boards/boardsource-blok/Cargo.toml @@ -11,21 +11,21 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m = "0.7.7" -rp2040-boot2 = { version = "0.3.0", optional = true} -rp2040-hal = { version = "0.9.0"} -cortex-m-rt = { version = "0.7.3", optional = true} -fugit = "0.3.5" +cortex-m.workspace = true +rp2040-boot2 = { workspace = true, optional = true} +rp2040-hal.workspace = true +cortex-m-rt = { workspace = true, optional = true} +fugit.workspace = true [dev-dependencies] -panic-halt = "0.2.0" -embedded-hal = "0.2.7" -nb = "1.0" -smart-leds = "0.3.0" -ws2812-pio = "0.7.0" -usb-device = "0.2.9" -usbd-hid = "0.5.2" -critical-section = "1.1.1" +panic-halt.workspace = true +embedded-hal.workspace = true +nb.workspace = true +smart-leds.workspace = true +ws2812-pio.workspace = true +usb-device.workspace = true +usbd-hid.workspace = true +critical-section.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/pimoroni-pico-explorer/Cargo.toml b/boards/pimoroni-pico-explorer/Cargo.toml index 61ea00e5..808241ce 100644 --- a/boards/pimoroni-pico-explorer/Cargo.toml +++ b/boards/pimoroni-pico-explorer/Cargo.toml @@ -11,21 +11,21 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -display-interface-spi = "0.4.1" -embedded-graphics = "0.7.1" -embedded-hal = { version = "0.2.7", features = ["unproven"] } -fugit = "0.3.7" -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } -st7789 = "0.6.1" +cortex-m-rt = { workspace = true, optional = true } +display-interface-spi.workspace = true +embedded-graphics.workspace = true +embedded-hal = { workspace = true, features = ["unproven"] } +fugit.workspace = true +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true +st7789.workspace = true [dev-dependencies] -arrayvec = { version = "0.7.4", default-features = false } -cortex-m = "0.7.7" -display-interface = "0.4.1" -nb = "1.1.0" -panic-halt = "0.2.0" +arrayvec.workspace = true +cortex-m.workspace = true +display-interface.workspace = true +nb.workspace = true +panic-halt.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/pimoroni-pico-lipo-16mb/Cargo.toml b/boards/pimoroni-pico-lipo-16mb/Cargo.toml index 90fee8ba..c9648060 100644 --- a/boards/pimoroni-pico-lipo-16mb/Cargo.toml +++ b/boards/pimoroni-pico-lipo-16mb/Cargo.toml @@ -11,15 +11,15 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -cortex-m = "0.7.7" -panic-halt= "0.2.0" -embedded-hal ="0.2.7" -nb = "1.1" +cortex-m.workspace = true +panic-halt.workspace = true +embedded-hal.workspace = true +nb.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/pimoroni-plasma-2040/Cargo.toml b/boards/pimoroni-plasma-2040/Cargo.toml index c0c6a857..2b972aa0 100644 --- a/boards/pimoroni-plasma-2040/Cargo.toml +++ b/boards/pimoroni-plasma-2040/Cargo.toml @@ -11,21 +11,21 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -cortex-m = "0.7.7" -embedded-hal ="0.2.7" -fugit = "0.3.7" -panic-halt= "0.2.0" -rp2040-hal = { version = "0.9.0", features = [ "defmt" ] } -smart-leds = "0.3.0" -ws2812-pio = "0.7.0" - -defmt = "0.3.5" -defmt-rtt = "0.4.0" +cortex-m.workspace = true +embedded-hal.workspace = true +fugit.workspace = true +panic-halt.workspace = true +rp2040-hal = { workspace = true, features = [ "defmt" ] } +smart-leds.workspace = true +ws2812-pio.workspace = true + +defmt.workspace = true +defmt-rtt.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/pimoroni-servo2040/Cargo.toml b/boards/pimoroni-servo2040/Cargo.toml index 62e78d7b..28bb6ef6 100644 --- a/boards/pimoroni-servo2040/Cargo.toml +++ b/boards/pimoroni-servo2040/Cargo.toml @@ -11,20 +11,20 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -defmt = "0.3.5" -defmt-rtt = "0.4.0" -embedded-hal ="0.2.7" -fugit = "0.3.7" -nb = "1.1.0" -panic-halt= "0.2.0" -rp2040-hal = { version = "0.9.0", features = [ "defmt" ] } -smart-leds = "0.3.0" -ws2812-pio = "0.7.0" +defmt.workspace = true +defmt-rtt.workspace = true +embedded-hal.workspace = true +fugit.workspace = true +nb.workspace = true +panic-halt.workspace = true +rp2040-hal = { workspace = true, features = [ "defmt" ] } +smart-leds.workspace = true +ws2812-pio.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/pimoroni-tiny2040/Cargo.toml b/boards/pimoroni-tiny2040/Cargo.toml index 020931b1..ab5c39a6 100644 --- a/boards/pimoroni-tiny2040/Cargo.toml +++ b/boards/pimoroni-tiny2040/Cargo.toml @@ -11,16 +11,16 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m = "0.7.7" -cortex-m-rt = { version = "0.7", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m.workspace = true +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -embedded-hal ="0.2.7" -fugit = "0.3.7" -panic-halt= "0.2.0" -rp2040-hal = { version = "0.9.0", features = [ "defmt" ] } +embedded-hal.workspace = true +fugit.workspace = true +panic-halt.workspace = true +rp2040-hal = { workspace = true, features = [ "defmt" ] } defmt = "0.3.5" defmt-rtt = "0.4.0" diff --git a/boards/pimoroni_badger2040/Cargo.toml b/boards/pimoroni_badger2040/Cargo.toml index fbab25f5..4d383af0 100644 --- a/boards/pimoroni_badger2040/Cargo.toml +++ b/boards/pimoroni_badger2040/Cargo.toml @@ -11,15 +11,15 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -embedded-hal = "0.2.7" -fugit = "0.3.7" -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +embedded-hal.workspace = true +fugit.workspace = true +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -panic-halt = "0.2.0" -nb = "1.1" +panic-halt.workspace = true +nb.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/rp-pico/Cargo.toml b/boards/rp-pico/Cargo.toml index 0246f9fb..b195243d 100644 --- a/boards/rp-pico/Cargo.toml +++ b/boards/rp-pico/Cargo.toml @@ -11,35 +11,35 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -fugit = "0.3.7" -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } -usb-device= "0.2.9" +cortex-m-rt = { workspace = true, optional = true } +fugit.workspace = true +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true +usb-device.workspace = true [dev-dependencies] -cortex-m = "0.7.7" -cortex-m-rtic = "1.1.4" -critical-section = "1.1.2" -embedded-graphics = "0.7.1" -embedded-hal ="0.2.7" -embedded-sdmmc = "0.5.0" -hd44780-driver = "0.4.0" -heapless = "0.7.16" -i2c-pio = "0.7.0" -nb = "1.1" -panic-halt= "0.2.0" -pio = "0.2.1" -pio-proc = "0.2.2" -rp2040-hal = { version = "0.9.0", features = [ "defmt" ] } -smart-leds = "0.3.0" -ssd1306 = "0.7.1" -usbd-hid = "0.5.2" -usbd-serial = "0.1.1" -ws2812-pio = "0.7.0" +cortex-m.workspace = true +cortex-m-rtic.workspace = true +critical-section.workspace = true +embedded-graphics.workspace = true +embedded-hal.workspace = true +embedded-sdmmc.workspace = true +hd44780-driver.workspace = true +heapless.workspace = true +i2c-pio.workspace = true +nb.workspace = true +panic-halt.workspace = true +pio.workspace = true +pio-proc.workspace = true +rp2040-hal = { workspace = true, features = [ "defmt" ] } +smart-leds.workspace = true +ssd1306.workspace = true +usbd-hid.workspace = true +usbd-serial.workspace = true +ws2812-pio.workspace = true -defmt = "0.3.5" -defmt-rtt = "0.4.0" +defmt.workspace = true +defmt-rtt.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/seeeduino-xiao-rp2040/Cargo.toml b/boards/seeeduino-xiao-rp2040/Cargo.toml index 54b43a62..e453617d 100644 --- a/boards/seeeduino-xiao-rp2040/Cargo.toml +++ b/boards/seeeduino-xiao-rp2040/Cargo.toml @@ -11,16 +11,16 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -cortex-m = "0.7.7" -embedded-hal ="0.2.7" -fugit = "0.3.7" -nb = "1.1" -panic-halt= "0.2.0" +cortex-m.workspace = true +embedded-hal.workspace = true +fugit.workspace = true +nb.workspace = true +panic-halt.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/solderparty-rp2040-stamp/Cargo.toml b/boards/solderparty-rp2040-stamp/Cargo.toml index f9987f37..68779e97 100644 --- a/boards/solderparty-rp2040-stamp/Cargo.toml +++ b/boards/solderparty-rp2040-stamp/Cargo.toml @@ -11,18 +11,18 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -embedded-hal ="0.2.7" -fugit = "0.3.7" -nb = "1.1.0" -panic-halt= "0.2.0" -pio = "0.2.1" -smart-leds = "0.3.0" -ws2812-pio = "0.7.0" +embedded-hal.workspace = true +fugit.workspace = true +nb.workspace = true +panic-halt.workspace = true +pio.workspace = true +smart-leds.workspace = true +ws2812-pio.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/sparkfun-micromod-rp2040/Cargo.toml b/boards/sparkfun-micromod-rp2040/Cargo.toml index f6252629..71bcb24e 100644 --- a/boards/sparkfun-micromod-rp2040/Cargo.toml +++ b/boards/sparkfun-micromod-rp2040/Cargo.toml @@ -11,19 +11,19 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m = "0.7.7" -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } -cortex-m-rt = { version = "0.7.3", optional = true } -embedded-hal = "0.2.7" -nb = "1.1.0" +cortex-m.workspace = true +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true +cortex-m-rt = { workspace = true, optional = true } +embedded-hal.workspace = true +nb.workspace = true [dev-dependencies] -panic-probe = { version = "0.3.1", features = ["print-defmt"] } -panic-halt = "0.2.0" -rp2040-hal = { version = "0.9.0", features = ["defmt"] } -defmt = "0.3.4" -defmt-rtt = "0.4.0" +panic-probe = { workspace = true, features = ["print-defmt"] } +panic-halt.workspace = true +rp2040-hal = { workspace = true, features = ["defmt"] } +defmt.workspace = true +defmt-rtt.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/sparkfun-pro-micro-rp2040/Cargo.toml b/boards/sparkfun-pro-micro-rp2040/Cargo.toml index 5e6e5047..274d23b6 100644 --- a/boards/sparkfun-pro-micro-rp2040/Cargo.toml +++ b/boards/sparkfun-pro-micro-rp2040/Cargo.toml @@ -11,18 +11,18 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7.3", optional = true } -embedded-hal = { version = "0.2.7", features = ["unproven"] } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +embedded-hal = { workspace = true, features = ["unproven"] } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -fugit = "0.3.7" -nb = "1.1.0" -panic-halt = "0.2.0" -pio = "0.2.1" -smart-leds = "0.3.0" -ws2812-pio = "0.7.0" +fugit.workspace = true +nb.workspace = true +panic-halt.workspace = true +pio.workspace = true +smart-leds.workspace = true +ws2812-pio.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/sparkfun-thing-plus-rp2040/Cargo.toml b/boards/sparkfun-thing-plus-rp2040/Cargo.toml index 3bf64db1..e103d024 100644 --- a/boards/sparkfun-thing-plus-rp2040/Cargo.toml +++ b/boards/sparkfun-thing-plus-rp2040/Cargo.toml @@ -11,18 +11,18 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7.3", optional = true } -embedded-hal = { version = "0.2.7", features = ["unproven"] } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +embedded-hal = { workspace = true, features = ["unproven"] } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -panic-halt = "0.2.0" -smart-leds = "0.3.0" -nb = "1.1.0" -pio = "0.2.1" -ws2812-pio = "0.7.0" -fugit = "0.3.7" +panic-halt.workspace = true +smart-leds.workspace = true +nb.workspace = true +pio.workspace = true +ws2812-pio.workspace = true +fugit.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/vcc-gnd-yd-rp2040/Cargo.toml b/boards/vcc-gnd-yd-rp2040/Cargo.toml index f76b4a4a..e195fb5e 100644 --- a/boards/vcc-gnd-yd-rp2040/Cargo.toml +++ b/boards/vcc-gnd-yd-rp2040/Cargo.toml @@ -11,20 +11,20 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -fugit = "0.3.7" -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } -usb-device= "0.2.9" +cortex-m-rt = { workspace = true, optional = true } +fugit.workspace = true +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true +usb-device.workspace = true [dev-dependencies] -cortex-m = "0.7.7" -embedded-hal ="0.2.7" -nb = "1.1" -panic-halt= "0.2.0" -pio = "0.2.1" -smart-leds = "0.3.0" -ws2812-pio = "0.7.0" +cortex-m.workspace = true +embedded-hal.workspace = true +nb.workspace = true +panic-halt.workspace = true +pio.workspace = true +smart-leds.workspace = true +ws2812-pio.workspace = true [features] # This is the set of features we enable by default diff --git a/boards/waveshare-rp2040-lcd-0-96/Cargo.toml b/boards/waveshare-rp2040-lcd-0-96/Cargo.toml index 59a6e0c1..e3acf10a 100644 --- a/boards/waveshare-rp2040-lcd-0-96/Cargo.toml +++ b/boards/waveshare-rp2040-lcd-0-96/Cargo.toml @@ -11,18 +11,18 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -cortex-m = "0.7.7" -panic-halt= "0.2.0" -embedded-hal ="0.2.7" -fugit = "0.3.7" -nb = "1.1.0" -embedded-graphics = "0.7.1" -st7735-lcd = { version = "0.8.1", features = ["graphics"] } +cortex-m.workspace = true +panic-halt.workspace = true +embedded-hal.workspace = true +fugit.workspace = true +nb.workspace = true +embedded-graphics.workspace = true +st7735-lcd = { workspace = true, features = ["graphics"] } [features] # This is the set of features we enable by default diff --git a/boards/waveshare-rp2040-zero/Cargo.toml b/boards/waveshare-rp2040-zero/Cargo.toml index 907f6b8b..64698fe8 100644 --- a/boards/waveshare-rp2040-zero/Cargo.toml +++ b/boards/waveshare-rp2040-zero/Cargo.toml @@ -11,18 +11,18 @@ repository = "https://github.com/rp-rs/rp-hal-boards.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m-rt = { version = "0.7", optional = true } -rp2040-boot2 = { version = "0.3.0", optional = true } -rp2040-hal = { version = "0.9.0" } +cortex-m-rt = { workspace = true, optional = true } +rp2040-boot2 = { workspace = true, optional = true } +rp2040-hal.workspace = true [dev-dependencies] -cortex-m = "0.7.7" -panic-halt= "0.2.0" -embedded-hal ="0.2.7" -fugit = "0.3.7" -nb = "1.1.0" -smart-leds = "0.3.0" -ws2812-pio = "0.7.0" +cortex-m.workspace = true +panic-halt.workspace = true +embedded-hal.workspace = true +fugit.workspace = true +nb.workspace = true +smart-leds.workspace = true +ws2812-pio.workspace = true [features] # This is the set of features we enable by default