更改内存分配

This commit is contained in:
lxbpxylps@126.com 2021-08-10 14:57:46 +08:00
parent a7d2af018c
commit 75318d2f7d

View File

@ -30,7 +30,9 @@
; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
; </h>
Stack_Size EQU 0x00000400
;Stack_Size EQU 0x00000400
;栈大小设置为 262144 Bytes
Stack_Size EQU 0x00040000
AREA STACK, NOINIT, READWRITE, ALIGN=3
Stack_Mem SPACE Stack_Size
@ -41,7 +43,9 @@ __initial_sp
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
; </h>
Heap_Size EQU 0x00000200
;Heap_Size EQU 0x00000200
;堆大小设置为 262144 Bytes
Heap_Size EQU 0x00040000
AREA HEAP, NOINIT, READWRITE, ALIGN=3
__heap_base