From 6aa8ab2cc5e1e44d9ea6ae6cf6e55d96ad8b14fc Mon Sep 17 00:00:00 2001 From: wanghaijing Date: Fri, 23 Oct 2020 11:57:33 +0800 Subject: [PATCH 1/2] [fix] HAL_Delay --- libraries/drivers/drv_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/drivers/drv_common.c b/libraries/drivers/drv_common.c index 94332e63..870959ba 100644 --- a/libraries/drivers/drv_common.c +++ b/libraries/drivers/drv_common.c @@ -29,7 +29,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); } /** @@ -63,6 +63,7 @@ void HAL_ResumeTick(void) void HAL_Delay(__IO uint32_t Delay) { + rt_thread_mdelay(Delay); } /* re-implement tick interface for STM32 HAL */ From 30d51659c4934df6ecfeacadfed991ae1ea1b049 Mon Sep 17 00:00:00 2001 From: wanghaijing Date: Fri, 23 Oct 2020 13:45:28 +0800 Subject: [PATCH 2/2] [update] v1.0.1 --- RealThread_STMH750-ART-Pi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RealThread_STMH750-ART-Pi.yaml b/RealThread_STMH750-ART-Pi.yaml index 0e83c956..66efb7a5 100644 --- a/RealThread_STMH750-ART-Pi.yaml +++ b/RealThread_STMH750-ART-Pi.yaml @@ -1,6 +1,6 @@ --- yaml_version: 3 -pkg_version: 1.0.0 +pkg_version: 1.0.1 pkg_vendor: RealThread pkg_type: Board_Support_Packages board: