Fixed bug #583.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7900 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
dbe04e034f
commit
7ff77cde76
|
@ -478,9 +478,15 @@
|
|||
/* LSI related checks.*/
|
||||
#if STM32_LSI_ENABLED
|
||||
#else /* !STM32_LSI_ENABLED */
|
||||
#if STM32_RTCCLK == STM32_LSICLK
|
||||
#error "required LSI clock is not enabled"
|
||||
|
||||
#if STM32_MCOSEL == STM32_MCOSEL_LSI
|
||||
#error "LSI not enabled, required by STM32_MCOSEL"
|
||||
#endif
|
||||
|
||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||
#endif
|
||||
|
||||
#endif /* !STM32_LSI_ENABLED */
|
||||
|
||||
/* LSE related checks.*/
|
||||
|
@ -492,9 +498,15 @@
|
|||
#error "STM32_LSECLK outside acceptable range (1...1000kHz)"
|
||||
#endif
|
||||
#else /* !STM32_LSE_ENABLED */
|
||||
#if STM32_RTCCLK == STM32_LSECLK
|
||||
#error "required LSE clock is not enabled"
|
||||
|
||||
#if STM32_MCOSEL == STM32_MCOSEL_LSE
|
||||
#error "LSE not enabled, required by STM32_MCOSEL"
|
||||
#endif
|
||||
|
||||
#if STM32_RTCSEL == STM32_RTCSEL_LSE
|
||||
#error "LSE not enabled, required by STM32_RTCSEL"
|
||||
#endif
|
||||
|
||||
#endif /* !STM32_LSE_ENABLED */
|
||||
|
||||
/* PLL related checks.*/
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 3.0.0p4 ***
|
||||
- HAL: Fixed invalid checks on STM32L1xx LSI and LSE clocks (bug #583).
|
||||
- HAL: Fixed RCC CAN2 macros missing in STM32F1xx platform (bug #582).
|
||||
- HAL: Fixed STM32 I2Cv2 driver issue (bug 581).
|
||||
|
||||
|
|
Loading…
Reference in New Issue