From 388f92c87e461a55238a4c8ff5e38a85d0852093 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: Fri, 30 May 2025 08:05:47 +0000 Subject: [PATCH] update Port/80251/startup_80251.s. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 零中断延迟的RTOS --- Port/80251/startup_80251.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Port/80251/startup_80251.s b/Port/80251/startup_80251.s index 6456705..b916903 100644 --- a/Port/80251/startup_80251.s +++ b/Port/80251/startup_80251.s @@ -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