From ab2d315d67bdbe7c24c3a494eaee098f8acfb0d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B6=E4=B8=AD=E6=96=AD=E5=BB=B6=E8=BF=9F=E7=9A=84RTOS?= Date: Sat, 13 Jun 2026 09:10:05 +0000 Subject: [PATCH] update Port/Cortex-M/port_cmx.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 零中断延迟的RTOS --- Port/Cortex-M/port_cmx.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Port/Cortex-M/port_cmx.h b/Port/Cortex-M/port_cmx.h index 401dfe28..8ba95e85 100644 --- a/Port/Cortex-M/port_cmx.h +++ b/Port/Cortex-M/port_cmx.h @@ -3,8 +3,8 @@ * @file port_cmx.h * @brief CMSIS Cortex-M Core Port File * @author 迟凯峰 - * @version V2.3.6 - * @date 2026.06.11 + * @version V2.3.7 + * @date 2026.06.13 ******************************************************************************/ #ifndef __PORT_CMX_H @@ -373,7 +373,7 @@ do{ \ node_news->psp = node_news->psp_top; \ mFPSCR_INIT(); /* FPSCR */ \ *(volatile s_u32_t *)(node_news->psp - MCUCFG_CALLER_PUSH_FPU - 4) = 0x01000000; /* xPSR */ \ - *(volatile s_u32_t *)(node_news->psp - MCUCFG_CALLER_PUSH_FPU - 8) = (s_u32_t)(s_task_starter.hload)->entry; /* r15(pc) */ \ + *(volatile s_u32_t *)(node_news->psp - MCUCFG_CALLER_PUSH_FPU - 8) = (s_u32_t)node_news->entry; /* r15(pc) */ \ node_news->psp -= MCUCFG_BASICSTACKSIZE; \ }while(false)