aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Angel Oltra <[email protected]>2025-04-17 22:57:13 +0200
committerJosep Angel Oltra <[email protected]>2025-04-17 22:57:13 +0200
commit69d2ce4eab278b839678fb41e2be65618c639145 (patch)
tree32a4f61cadc66b3a5dadbe43ea9ae598fb6791e6
parent443ffd8b6df67844208ceec58d5443e01b99a159 (diff)
Added USB core_id 0x1000 for STM32
-rw-r--r--embassy-stm32/src/usb/otg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/usb/otg.rs b/embassy-stm32/src/usb/otg.rs
index 51429b8cc..2aca3d929 100644
--- a/embassy-stm32/src/usb/otg.rs
+++ b/embassy-stm32/src/usb/otg.rs
@@ -335,7 +335,7 @@ impl<'d, T: Instance> Bus<'d, T> {
335 335
336 // Configuring Vbus sense and SOF output 336 // Configuring Vbus sense and SOF output
337 match core_id { 337 match core_id {
338 0x0000_1200 | 0x0000_1100 => self.inner.config_v1(), 338 0x0000_1200 | 0x0000_1100 | 0x0000_1000 => self.inner.config_v1(),
339 0x0000_2000 | 0x0000_2100 | 0x0000_2300 | 0x0000_3000 | 0x0000_3100 => self.inner.config_v2v3(), 339 0x0000_2000 | 0x0000_2100 | 0x0000_2300 | 0x0000_3000 | 0x0000_3100 => self.inner.config_v2v3(),
340 0x0000_5000 => self.inner.config_v5(), 340 0x0000_5000 => self.inner.config_v5(),
341 _ => unimplemented!("Unknown USB core id {:X}", core_id), 341 _ => unimplemented!("Unknown USB core id {:X}", core_id),