Skip to content

Commit 84e5f1e

Browse files
authored
Merge pull request #14479 from chrJost/USB_STM32L1
STM32L1: enable USBDEVICE
2 parents 0075eea + 7f5fe0b commit 84e5f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_STM/USBPhyHw.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
#if MBED_CONF_TARGET_USB_SPEED == USE_USB_NO_OTG
4545

46-
#if defined(TARGET_STM32F1) || defined(TARGET_STM32F3) || defined(TARGET_STM32WB) || defined(TARGET_STM32G4)
46+
#if defined(TARGET_STM32F1) || defined(TARGET_STM32F3) || defined(TARGET_STM32L1) || defined(TARGET_STM32WB) || defined(TARGET_STM32G4)
4747
#define USBHAL_IRQn USB_LP_IRQn
4848
#elif defined(TARGET_STM32L5)
4949
#define USBHAL_IRQn USB_FS_IRQn

0 commit comments

Comments
 (0)