mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-02-05 19:39:42 +08:00
update Port/80251/startup_80251.s.
Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
;* @file startup_80251.s
|
||||
;* @brief 80251 Core Startup File
|
||||
;* @author 迟凯峰
|
||||
;* @version V1.2.0
|
||||
;* @date 2025.03.30
|
||||
;* @version V1.2.1
|
||||
;* @date 2025.05.30
|
||||
;*******************************************************************************
|
||||
;
|
||||
$INCLUDE (syscfg.h)
|
||||
@@ -92,7 +92,7 @@ HDATALEN EQU 2000H ; the 24bits length of HDATA memory in bytes.
|
||||
;
|
||||
;------------------------------------------------------------------------------
|
||||
;
|
||||
; CPU Stack Size Definition for the MSP STACK MODE
|
||||
; CPU Stack Size Definition
|
||||
;
|
||||
; The following EQU statement defines the stack space available for the
|
||||
; 251 application program. It should be noted that the stack space must
|
||||
@@ -178,7 +178,7 @@ ENDIF
|
||||
IF MCUCFG_TASKSTACK_MODE == __MSP__
|
||||
MOV DR60, #WORD0 (?STACK-1)
|
||||
ELSE
|
||||
MOV DR60, #EDATALEN-512-1
|
||||
MOV DR60, #EDATALEN-STACKSIZE-1
|
||||
ENDIF
|
||||
|
||||
RSEG ?C_C51STARTUP?3
|
||||
|
||||
Reference in New Issue
Block a user