Skip to content

Commit 7814bc3

Browse files
committed
[4.0.x] 修复gcc下stack被降至0的问题
1 parent afd0f75 commit 7814bc3

File tree

79 files changed

+82
-81
lines changed
  • bsp/stm32
    • libraries/templates
    • stm32f072-st-nucleo/board/linker_scripts
    • stm32f091-st-nucleo/board/linker_scripts
    • stm32f103-atk-nano/board/linker_scripts
    • stm32f103-atk-warshipv3/board/linker_scripts
    • stm32f103-blue-pill/board/linker_scripts
    • stm32f103-dofly-M3S/board/linker_scripts
    • stm32f103-dofly-lyc8/board/linker_scripts
    • stm32f103-fire-arbitrary/board/linker_scripts
    • stm32f103-gizwits-gokitv21/board/linker_scripts
    • stm32f103-hw100k-ibox/board/linker_scripts
    • stm32f103-onenet-nbiot/board/linker_scripts
    • stm32f103-yf-ufun/board/linker_scripts
    • stm32f107-uc-eval/board/linker_scripts
    • stm32f207-st-nucleo/board/linker_scripts
    • stm32f302-st-nucleo/board/linker_scripts
    • stm32f401-st-nucleo/board/linker_scripts
    • stm32f405-smdz-breadfruit/board/linker_scripts
    • stm32f407-armfly-v5/board/linker_scripts
    • stm32f407-atk-explorer/board/linker_scripts
    • stm32f407-robomaster-c/board/linker_scripts
    • stm32f407-st-discovery/board/linker_scripts
    • stm32f410-st-nucleo/board/linker_scripts
    • stm32f411-atk-nano/board/linker_scripts
    • stm32f411-st-nucleo/board/linker_scripts
    • stm32f411-weact-MiniF4/board/linker_scripts
    • stm32f412-st-nucleo/board/linker_scripts
    • stm32f413-st-nucleo/board/linker_scripts
    • stm32f427-robomaster-a/board/linker_scripts
    • stm32f429-armfly-v6/board/linker_scripts
    • stm32f429-atk-apollo/board/linker_scripts
    • stm32f429-fire-challenger/board/linker_scripts
    • stm32f429-st-disco/board/linker_scripts
    • stm32f446-st-nucleo/board/linker_scripts
    • stm32f469-st-disco/board/linker_scripts
    • stm32f746-st-disco/board/linker_scripts
    • stm32f746-st-nucleo/board/linker_scripts
    • stm32f767-atk-apollo/board/linker_scripts
    • stm32f767-fire-challenger-v1/board/linker_scripts
    • stm32f767-st-nucleo/board/linker_scripts
    • stm32f769-st-disco/board/linker_scripts
    • stm32g070-st-nucleo/board/linker_scripts
    • stm32g071-st-nucleo/board/linker_scripts
    • stm32g431-st-nucleo/board/linker_scripts
    • stm32h743-armfly-V7/board/linker_scripts
    • stm32h743-atk-apollo/board/linker_scripts
    • stm32h743-st-nucleo/board/linker_scripts
    • stm32h747-st-discovery/board/linker_scripts
    • stm32h750-armfly-h7-tool/board/linker_scripts
    • stm32h750-artpi-h750/board/linker_scripts
    • stm32l010-st-nucleo/board/linker_scripts
    • stm32l053-st-nucleo/board/linker_scripts
    • stm32l412-st-nucleo/board/linker_scripts
    • stm32l431-BearPi/board/linker_scripts
    • stm32l432-st-nucleo/board/linker_scripts
    • stm32l433-st-nucleo/board/linker_scripts
    • stm32l452-st-nucleo/board/linker_scripts
    • stm32l475-atk-pandora/board/linker_scripts
    • stm32l475-st-discovery/board/linker_scripts
    • stm32l476-st-nucleo/board/linker_scripts
    • stm32l496-ali-developer/board/linker_scripts
    • stm32l496-st-nucleo/board/linker_scripts
    • stm32l4r5-st-nucleo/board/linker_scripts
    • stm32l4r9-st-eval/board/linker_scripts
    • stm32l4r9-st-sensortile-box/board/linker_scripts
    • stm32mp157a-st-discovery/board/linker_scripts
    • stm32mp157a-st-ev1/board/linker_scripts
    • stm32wb55-st-nucleo/board/linker_scripts
    • tools

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+82
-81
lines changed

bsp/stm32/libraries/templates/stm32f0xx/board/linker_scripts/link.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ MEMORY
99
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 32k /* 32K sram */
1010
}
1111
ENTRY(Reset_Handler)
12-
_system_stack_size = 0x000;
12+
_system_stack_size = 0x400;
1313

1414
SECTIONS
1515
{

bsp/stm32/libraries/templates/stm32f10x/board/linker_scripts/link.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ MEMORY
99
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 20k /* 20K sram */
1010
}
1111
ENTRY(Reset_Handler)
12-
_system_stack_size = 0x000;
12+
_system_stack_size = 0x400;
1313

1414
SECTIONS
1515
{

bsp/stm32/libraries/templates/stm32f2xx/board/linker_scripts/link.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ MEMORY
99
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 128k /* 20K sram */
1010
}
1111
ENTRY(Reset_Handler)
12-
_system_stack_size = 0x000;
12+
_system_stack_size = 0x400;
1313

1414
SECTIONS
1515
{

bsp/stm32/libraries/templates/stm32f3xx/board/linker_scripts/link.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MEMORY
1010
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 16k /* 16K sram */
1111
}
1212
ENTRY(Reset_Handler)
13-
_system_stack_size = 0x000;
13+
_system_stack_size = 0x400;
1414

1515
SECTIONS
1616
{

bsp/stm32/libraries/templates/stm32f4xx/board/linker_scripts/link.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MEMORY
1010
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 128k /* 128K sram */
1111
}
1212
ENTRY(Reset_Handler)
13-
_system_stack_size = 0x000;
13+
_system_stack_size = 0x400;
1414

1515
SECTIONS
1616
{

bsp/stm32/libraries/templates/stm32f7xx/board/linker_scripts/link.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MEMORY
1010
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 128k /* 128K sram */
1111
}
1212
ENTRY(Reset_Handler)
13-
_system_stack_size = 0x000;
13+
_system_stack_size = 0x400;
1414

1515
SECTIONS
1616
{

bsp/stm32/libraries/templates/stm32h7xx/board/linker_scripts/link.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MEMORY
1010
RAM (rw) : ORIGIN = 0x24000000, LENGTH = 512k /* 512K sram */
1111
}
1212
ENTRY(Reset_Handler)
13-
_system_stack_size = 0x000;
13+
_system_stack_size = 0x400;
1414

1515
SECTIONS
1616
{

bsp/stm32/libraries/templates/stm32l1xx/board/linker_scripts/link.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ MEMORY
99
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 16k /* 16K sram */
1010
}
1111
ENTRY(Reset_Handler)
12-
_system_stack_size = 0x000;
12+
_system_stack_size = 0x400;
1313

1414
SECTIONS
1515
{

bsp/stm32/libraries/templates/stm32l4xx/board/linker_scripts/link.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ MEMORY
99
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 96k /* 96KB sram */
1010
}
1111
ENTRY(Reset_Handler)
12-
_system_stack_size = 0x000;
12+
_system_stack_size = 0x400;
1313

1414
SECTIONS
1515
{

bsp/stm32/libraries/templates/stm32mp1xx/board/linker_scripts/link.lds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MEMORY
1010
RAM (rw) : ORIGIN = 0x10040000, LENGTH = 128k /* 128K sram */
1111
}
1212
ENTRY(Reset_Handler)
13-
_system_stack_size = 0x000;
13+
_system_stack_size = 0x400;
1414

1515
SECTIONS
1616
{

0 commit comments

Comments
 (0)