aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/USB_CDC/mcuconf.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-09-01 13:32:09 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-09-01 13:32:09 +0000
commit64689ec9b44217acd92443e88793a6e8387dd709 (patch)
tree53ddc083ee3d07284a3c4d5839207608ae61e140 /testhal/STM32/STM32F4xx/USB_CDC/mcuconf.h
parent2c934bb1fa9037c5088ad7001d417f3e1598ccbf (diff)
downloadChibiOS-64689ec9b44217acd92443e88793a6e8387dd709.tar.gz
ChibiOS-64689ec9b44217acd92443e88793a6e8387dd709.tar.bz2
ChibiOS-64689ec9b44217acd92443e88793a6e8387dd709.zip
Improved STM32F4 USB_CDC demo, now it supports both the ST and Olimex boards.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8267 35acf78f-673a-0410-8e92-d51de3d6d3f4
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