diff --git a/Core/startup_stm32h743xx.s b/Core/startup_stm32h743xx.s index f8c14b5..6a017e6 100644 --- a/Core/startup_stm32h743xx.s +++ b/Core/startup_stm32h743xx.s @@ -30,7 +30,9 @@ ; Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> ; -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 ; Heap Size (in Bytes) <0x0-0xFFFFFFFF:8> ; -Heap_Size EQU 0x00000200 +;Heap_Size EQU 0x00000200 +;堆大小设置为 262144 Bytes +Heap_Size EQU 0x00040000 AREA HEAP, NOINIT, READWRITE, ALIGN=3 __heap_base