mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-09-26 21:23:37 +08:00
update Port/Cortex-M/port_cmx.h.
Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user