git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14583 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2021-07-02 15:11:35 +00:00
parent 49c0258e8c
commit f3d1ff500b
2 changed files with 4 additions and 2 deletions

View File

@ -385,7 +385,7 @@
#define ST_NUMBER STM32_TIM21_NUMBER #define ST_NUMBER STM32_TIM21_NUMBER
#define ST_CLOCK_SRC STM32_TIMCLK2 #define ST_CLOCK_SRC STM32_TIMCLK2
#define ST_ENABLE_CLOCK() rccEnableTIM21(true) #define ST_ENABLE_CLOCK() rccEnableTIM21(true)
#define ST_ENABLE_STOP() DBGMCU->APB1FZ |= DBGMCU_APB2_FZ_DBG_TIM21_STOP #define ST_ENABLE_STOP() DBGMCU->APB2FZ |= DBGMCU_APB2_FZ_DBG_TIM21_STOP
#elif STM32_ST_USE_TIMER == 22 #elif STM32_ST_USE_TIMER == 22
@ -401,7 +401,7 @@
#define ST_NUMBER STM32_TIM22_NUMBER #define ST_NUMBER STM32_TIM22_NUMBER
#define ST_CLOCK_SRC STM32_TIMCLK2 #define ST_CLOCK_SRC STM32_TIMCLK2
#define ST_ENABLE_CLOCK() rccEnableTIM22(true) #define ST_ENABLE_CLOCK() rccEnableTIM22(true)
#define ST_ENABLE_STOP() DBGMCU->APB1FZ |= DBGMCU_APB2_FZ_DBG_TIM21_STOP #define ST_ENABLE_STOP() DBGMCU->APB2FZ |= DBGMCU_APB2_FZ_DBG_TIM21_STOP
#else #else
#error "STM32_ST_USE_TIMER specifies an unsupported timer" #error "STM32_ST_USE_TIMER specifies an unsupported timer"

View File

@ -74,6 +74,8 @@
***************************************************************************** *****************************************************************************
*** Next *** *** Next ***
- FIX: Fixed invalid STM32 TIM21/TIM22 debug freeze setting (bug #1164)
(backported to 21.6.1)(backported to 20.3.4).
- FIX: Fixed Missing RTC APB enable on STM32G0xx (bug #1163) - FIX: Fixed Missing RTC APB enable on STM32G0xx (bug #1163)
(backported to 21.6.1) (backported to 21.6.1)
- FIX: Fixed I2S-related definitions missing in STM32F3xx registry (bug #1162) - FIX: Fixed I2S-related definitions missing in STM32F3xx registry (bug #1162)