Fixed bug #1131.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@13900 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
dffaf3f893
commit
404c07817d
|
@ -616,7 +616,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -329,7 +329,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -346,7 +346,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -424,7 +424,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -578,7 +578,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -668,7 +668,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1401,7 +1401,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -807,7 +807,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1148,7 +1148,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -862,7 +862,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -983,7 +983,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1501,7 +1501,7 @@
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
#define STM32_LSI_CK 0U
|
#define STM32_LSI_CK 0U
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI_CK
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI_CK)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -758,7 +758,7 @@
|
||||||
#error "LSI not enabled, required by STM32_MCOSEL"
|
#error "LSI not enabled, required by STM32_MCOSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -496,7 +496,7 @@
|
||||||
#error "LSI not enabled, required by STM32_MCOSEL"
|
#error "LSI not enabled, required by STM32_MCOSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1246,7 +1246,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1175,7 +1175,7 @@
|
||||||
#if STM32_LSI_ENABLED
|
#if STM32_LSI_ENABLED
|
||||||
#else /* !STM32_LSI_ENABLED */
|
#else /* !STM32_LSI_ENABLED */
|
||||||
|
|
||||||
#if STM32_RTCSEL == STM32_RTCSEL_LSI
|
#if HAL_USE_RTC && (STM32_RTCSEL == STM32_RTCSEL_LSI)
|
||||||
#error "LSI not enabled, required by STM32_RTCSEL"
|
#error "LSI not enabled, required by STM32_RTCSEL"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,7 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 20.3.3 ***
|
*** 20.3.3 ***
|
||||||
|
- FIX: Fixed wrong check on LSI on all STM32 platforms (bug #1131).
|
||||||
- FIX: Fixed missing EFL driver in platform_l432.mk (bug #1130).
|
- FIX: Fixed missing EFL driver in platform_l432.mk (bug #1130).
|
||||||
- FIX: Fixed wrong check in STM32 ST driver (bug #1129).
|
- FIX: Fixed wrong check in STM32 ST driver (bug #1129).
|
||||||
- FIX: Fixed OSAL does not allow 64 bits resolution values (bug #1128).
|
- FIX: Fixed OSAL does not allow 64 bits resolution values (bug #1128).
|
||||||
|
|
Loading…
Reference in New Issue