Fixed some mcuconf.h files and a regression introduced by the new STM32F4 clock tree.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12110 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
d40f2cbd39
commit
0d21de71ed
|
@ -69,7 +69,7 @@
|
|||
#define STM32_I2SSRC STM32_I2SSRC_PLLI2S
|
||||
#define STM32_SAI1SEL STM32_SAI2SEL_PLLR
|
||||
#define STM32_SAI2SEL STM32_SAI2SEL_PLLR
|
||||
#define STM32_CK48MSEL STM32_CK48MSEL_PLLSAI
|
||||
#define STM32_CK48MSEL STM32_CK48MSEL_PLLALT
|
||||
#define STM32_PVD_ENABLE FALSE
|
||||
#define STM32_PLS STM32_PLS_LEV0
|
||||
#define STM32_BKPRAM_ENABLE FALSE
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
#define STM32_I2SSRC STM32_I2SSRC_PLLI2S
|
||||
#define STM32_SAI1SEL STM32_SAI2SEL_PLLR
|
||||
#define STM32_SAI2SEL STM32_SAI2SEL_PLLR
|
||||
#define STM32_CK48MSEL STM32_CK48MSEL_PLLSAI
|
||||
#define STM32_CK48MSEL STM32_CK48MSEL_PLLALT
|
||||
#define STM32_PVD_ENABLE FALSE
|
||||
#define STM32_PLS STM32_PLS_LEV0
|
||||
#define STM32_BKPRAM_ENABLE FALSE
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
#define STM32_I2SSRC STM32_I2SSRC_PLLI2S
|
||||
#define STM32_SAI1SEL STM32_SAI2SEL_PLLR
|
||||
#define STM32_SAI2SEL STM32_SAI2SEL_PLLR
|
||||
#define STM32_CK48MSEL STM32_CK48MSEL_PLLSAI
|
||||
#define STM32_CK48MSEL STM32_CK48MSEL_PLLALT
|
||||
#define STM32_PVD_ENABLE FALSE
|
||||
#define STM32_PLS STM32_PLS_LEV0
|
||||
#define STM32_BKPRAM_ENABLE FALSE
|
||||
|
|
|
@ -181,7 +181,7 @@
|
|||
#if STM32_HAS_RCC_CK48MSEL || defined(__DOXYGEN__)
|
||||
#if (STM32_CK48MSEL == STM32_CK48MSEL_PLL) || defined(__DOXYGEN__)
|
||||
#define STM32_PLL48CLK (STM32_PLLVCO / STM32_PLLQ_VALUE)
|
||||
#elif STM32_CK48MSEL == STM32_CK48MSEL_PLLI2S
|
||||
#elif STM32_CK48MSEL == STM32_CK48MSEL_PLLALT
|
||||
#if STM32_RCC_CK48MSEL_USES_I2S
|
||||
#define STM32_PLL48CLK STM32_PLLI2S_Q_CLKOUT
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue