update Port/Cortex-M/port_cmx.h.

Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
零中断延迟的RTOS
2026-06-13 09:10:05 +00:00
committed by Gitee
parent 5b430c536a
commit ab2d315d67
+3 -3
View File
@@ -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)