Skip to content

Commit d7f6cca

Browse files
rubdosVanarill
authored andcommitted
WbX -> Wbx
1 parent 3136f46 commit d7f6cca

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/device.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub enum Device {
4242
Stm32L4S5,
4343
Stm32L4S7,
4444
Stm32L4S9,
45-
Stm32WbX5,
45+
Stm32Wbx5,
4646
}
4747

4848
impl Device {
@@ -112,7 +112,7 @@ impl Device {
112112
item!(Self::Stm32L4S7);
113113
item!(Self::Stm32L4S9);
114114
family!("STM32WB multi-protocol wireless / bluetooth");
115-
item!(Self::Stm32WbX5);
115+
item!(Self::Stm32Wbx5);
116116
Ok(())
117117
}
118118

@@ -150,7 +150,7 @@ impl Device {
150150
| Self::Stm32L4S5
151151
| Self::Stm32L4S7
152152
| Self::Stm32L4S9
153-
| Self::Stm32WbX5 => "thumbv7em-none-eabihf",
153+
| Self::Stm32Wbx5 => "thumbv7em-none-eabihf",
154154
}
155155
}
156156

@@ -185,7 +185,7 @@ impl Device {
185185
| Self::Stm32L4S5
186186
| Self::Stm32L4S7
187187
| Self::Stm32L4S9
188-
| Self::Stm32WbX5 => 0x0800_0000,
188+
| Self::Stm32Wbx5 => 0x0800_0000,
189189
}
190190
}
191191

@@ -223,7 +223,7 @@ impl Device {
223223
| Self::Stm32L4S5
224224
| Self::Stm32L4S7
225225
| Self::Stm32L4S9
226-
| Self::Stm32WbX5 => 0x2000_0000,
226+
| Self::Stm32Wbx5 => 0x2000_0000,
227227
}
228228
}
229229

@@ -258,7 +258,7 @@ impl Device {
258258
| Self::Stm32L4S5
259259
| Self::Stm32L4S7
260260
| Self::Stm32L4S9
261-
| Self::Stm32WbX5 => Some(4_000_000),
261+
| Self::Stm32Wbx5 => Some(4_000_000),
262262
}
263263
}
264264

@@ -296,7 +296,7 @@ impl Device {
296296
| Self::Stm32L4S5
297297
| Self::Stm32L4S7
298298
| Self::Stm32L4S9
299-
| Self::Stm32WbX5 => (crates::Platform::CortexM, "cortex_m4f_r0p1", &["fpu"]),
299+
| Self::Stm32Wbx5 => (crates::Platform::CortexM, "cortex_m4f_r0p1", &["fpu"]),
300300
}
301301
}
302302

@@ -422,7 +422,7 @@ impl Device {
422422
| Self::Stm32L4S5
423423
| Self::Stm32L4S7
424424
| Self::Stm32L4S9 => &[Probe::Bmp, Probe::Openocd],
425-
Self::Stm32WbX5 => &[Probe::Openocd],
425+
Self::Stm32Wbx5 => &[Probe::Openocd],
426426
}
427427
}
428428

@@ -459,7 +459,7 @@ impl Device {
459459
| Self::Stm32L4S5
460460
| Self::Stm32L4S7
461461
| Self::Stm32L4S9 => &["target/stm32l4x.cfg"],
462-
Self::Stm32WbX5 => &["target/stm32wbx.cfg"],
462+
Self::Stm32Wbx5 => &["target/stm32wbx.cfg"],
463463
}
464464
}
465465
}

0 commit comments

Comments
 (0)