aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/USB_CDC/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F4xx/USB_CDC/mcuconf.h')
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC/mcuconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F4xx/USB_CDC/mcuconf.h b/testhal/STM32/STM32F4xx/USB_CDC/mcuconf.h
index 1ca1d11d1..b2e8796ad 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/USB_CDC/mcuconf.h
@@ -44,7 +44,11 @@
#define STM32_CLOCK48_REQUIRED TRUE
#define STM32_SW STM32_SW_PLL
#define STM32_PLLSRC STM32_PLLSRC_HSE
+#if defined(BOARD_ST_STM32F4_DISCOVERY)
+#define STM32_PLLM_VALUE 8
+#else
#define STM32_PLLM_VALUE 12
+#endif
#define STM32_PLLN_VALUE 336
#define STM32_PLLP_VALUE 2
#define STM32_PLLQ_VALUE 7