From d7f6cca3741a4e019644449d615a57278cd05124 Mon Sep 17 00:00:00 2001 From: Ruben De Smet Date: Mon, 30 Sep 2019 11:22:46 +0200 Subject: [PATCH] WbX -> Wbx --- src/device.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/device.rs b/src/device.rs index 41dc082..85a1191 100644 --- a/src/device.rs +++ b/src/device.rs @@ -42,7 +42,7 @@ pub enum Device { Stm32L4S5, Stm32L4S7, Stm32L4S9, - Stm32WbX5, + Stm32Wbx5, } impl Device { @@ -112,7 +112,7 @@ impl Device { item!(Self::Stm32L4S7); item!(Self::Stm32L4S9); family!("STM32WB multi-protocol wireless / bluetooth"); - item!(Self::Stm32WbX5); + item!(Self::Stm32Wbx5); Ok(()) } @@ -150,7 +150,7 @@ impl Device { | Self::Stm32L4S5 | Self::Stm32L4S7 | Self::Stm32L4S9 - | Self::Stm32WbX5 => "thumbv7em-none-eabihf", + | Self::Stm32Wbx5 => "thumbv7em-none-eabihf", } } @@ -185,7 +185,7 @@ impl Device { | Self::Stm32L4S5 | Self::Stm32L4S7 | Self::Stm32L4S9 - | Self::Stm32WbX5 => 0x0800_0000, + | Self::Stm32Wbx5 => 0x0800_0000, } } @@ -223,7 +223,7 @@ impl Device { | Self::Stm32L4S5 | Self::Stm32L4S7 | Self::Stm32L4S9 - | Self::Stm32WbX5 => 0x2000_0000, + | Self::Stm32Wbx5 => 0x2000_0000, } } @@ -258,7 +258,7 @@ impl Device { | Self::Stm32L4S5 | Self::Stm32L4S7 | Self::Stm32L4S9 - | Self::Stm32WbX5 => Some(4_000_000), + | Self::Stm32Wbx5 => Some(4_000_000), } } @@ -296,7 +296,7 @@ impl Device { | Self::Stm32L4S5 | Self::Stm32L4S7 | Self::Stm32L4S9 - | Self::Stm32WbX5 => (crates::Platform::CortexM, "cortex_m4f_r0p1", &["fpu"]), + | Self::Stm32Wbx5 => (crates::Platform::CortexM, "cortex_m4f_r0p1", &["fpu"]), } } @@ -422,7 +422,7 @@ impl Device { | Self::Stm32L4S5 | Self::Stm32L4S7 | Self::Stm32L4S9 => &[Probe::Bmp, Probe::Openocd], - Self::Stm32WbX5 => &[Probe::Openocd], + Self::Stm32Wbx5 => &[Probe::Openocd], } } @@ -459,7 +459,7 @@ impl Device { | Self::Stm32L4S5 | Self::Stm32L4S7 | Self::Stm32L4S9 => &["target/stm32l4x.cfg"], - Self::Stm32WbX5 => &["target/stm32wbx.cfg"], + Self::Stm32Wbx5 => &["target/stm32wbx.cfg"], } } }