aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-12-25 17:22:41 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-12-25 17:22:41 +0000
commitfaf6c9f25fbf74966420c2582b86114a0c55aebf (patch)
tree61fb8a91ccab2a55fb8b93e1486f43c4e3548c44 /demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h
parent72c3417c88c7133ce4e38c49e7d25befea877131 (diff)
downloadChibiOS-faf6c9f25fbf74966420c2582b86114a0c55aebf.tar.gz
ChibiOS-faf6c9f25fbf74966420c2582b86114a0c55aebf.tar.bz2
ChibiOS-faf6c9f25fbf74966420c2582b86114a0c55aebf.zip
LED flashing but at a wrong rate, so, still issues.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11183 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h')
-rw-r--r--demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h b/demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h
index 39359e7c6..d317d47f6 100644
--- a/demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h
+++ b/demos/STM32/RT-STM32H743I-NUCLEO144/mcuconf.h
@@ -102,10 +102,6 @@
#define STM32_PLL3_DIVP_VALUE 2
#define STM32_PLL3_DIVQ_VALUE 8
#define STM32_PLL3_DIVR_VALUE 8
-#define STM32_MCO1SEL STM32_MCO1SEL_HSI_CK
-#define STM32_MCO1PRE_VALUE 4
-#define STM32_MCO2SEL STM32_MCO2SEL_SYS_CK
-#define STM32_MCO2PRE_VALUE 4
/*
* Core clocks dynamic settings (can be changed at runtime).
@@ -124,6 +120,10 @@
* Peripherals clocks static settings.
* Reading STM32 Reference Manual is required.
*/
+#define STM32_MCO1SEL STM32_MCO1SEL_HSI_CK
+#define STM32_MCO1PRE_VALUE 4
+#define STM32_MCO2SEL STM32_MCO2SEL_SYS_CK
+#define STM32_MCO2PRE_VALUE 4
#define STM32_CKPERSEL STM32_CKPERSEL_HSE_CK
#define STM32_SDMMCSEL STM32_SDMMCSEL_PLL1_Q_CK
#define STM32_QSPISEL STM32_QSPISEL_HCLK