From 6ba3767949f0b8089147cc487e7aef41fa94892a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=81=E5=85=89?= <1004383796@qq.com> Date: Thu, 4 Jun 2020 10:19:22 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20Configure=20the=20lowest=20priority?= =?UTF-8?q?=20of=20STM32=20systick=20interrupts=20|=20=E9=85=8D=E7=BD=AEST?= =?UTF-8?q?M32=20systick=E4=B8=AD=E6=96=AD=E4=BC=98=E5=85=88=E7=BA=A7?= =?UTF-8?q?=E4=B8=BA=E7=B3=BB=E7=BB=9F=E6=9C=80=E4=BD=8E.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/libraries/HAL_Drivers/drv_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_common.c b/bsp/stm32/libraries/HAL_Drivers/drv_common.c index 02e0d82be5..71175647e5 100644 --- a/bsp/stm32/libraries/HAL_Drivers/drv_common.c +++ b/bsp/stm32/libraries/HAL_Drivers/drv_common.c @@ -33,7 +33,7 @@ void rt_hw_systick_init(void) HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq() / RT_TICK_PER_SECOND); #endif HAL_SYSTICK_CLKSourceConfig(SYSTICK_CLKSOURCE_HCLK); - HAL_NVIC_SetPriority(SysTick_IRQn, 0, 0); + NVIC_SetPriority(SysTick_IRQn, 0xFF); } /**