aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32/Kconfig')
-rw-r--r--src/stm32/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig
index d97246c0..bd613ad1 100644
--- a/src/stm32/Kconfig
+++ b/src/stm32/Kconfig
@@ -93,7 +93,8 @@ config MACH_STM32F4x5 # F405, F407, F429 series
bool
config HAVE_STM32_USBFS
bool
- default y if MACH_STM32F103 || MACH_STM32F0x2 || MACH_STM32F070 || MACH_STM32G0
+ default y if MACH_STM32F0x2 || MACH_STM32G0
+ default y if (MACH_STM32F103 || MACH_STM32F070) && !STM32_CLOCK_REF_INTERNAL
config HAVE_STM32_USBOTG
bool
default y if MACH_STM32F2 || MACH_STM32F4 || MACH_STM32H7