Skip to content

Commit 5a34a2b

Browse files
committed
[MAX326xx] Increased default stack and heap sizes.
1 parent 87d2b89 commit 5a34a2b

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

targets/TARGET_Maxim/TARGET_MAX32600/device/TOOLCHAIN_GCC_ARM/startup_max32600.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ __StackTop:
6666
#ifdef __HEAP_SIZE
6767
.equ Heap_Size, __HEAP_SIZE
6868
#else
69-
.equ Heap_Size, 0x00000C00
69+
.equ Heap_Size, 0x00004000
7070
#endif
7171
.globl __HeapBase
7272
.globl __HeapLimit

targets/TARGET_Maxim/TARGET_MAX32600/device/TOOLCHAIN_IAR/MAX32600.icf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM
1515
define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
1616

1717
/* Stack and Heap */
18-
define symbol __size_cstack__ = 0x800;
19-
define symbol __size_heap__ = 0x800;
18+
define symbol __size_cstack__ = 0x1000;
19+
define symbol __size_heap__ = 0x4000;
2020
define block CSTACK with alignment = 8, size = __size_cstack__ { };
2121
define block HEAP with alignment = 8, size = __size_heap__ { };
2222

targets/TARGET_Maxim/TARGET_MAX32610/device/TOOLCHAIN_GCC_ARM/startup_max32610.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ __StackTop:
6666
#ifdef __HEAP_SIZE
6767
.equ Heap_Size, __HEAP_SIZE
6868
#else
69-
.equ Heap_Size, 0x00000C00
69+
.equ Heap_Size, 0x00004000
7070
#endif
7171
.globl __HeapBase
7272
.globl __HeapLimit

targets/TARGET_Maxim/TARGET_MAX32610/device/TOOLCHAIN_IAR/MAX32610.icf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM
1515
define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
1616

1717
/* Stack and Heap */
18-
define symbol __size_cstack__ = 0x800;
19-
define symbol __size_heap__ = 0x800;
18+
define symbol __size_cstack__ = 0x1000;
19+
define symbol __size_heap__ = 0x4000;
2020
define block CSTACK with alignment = 8, size = __size_cstack__ { };
2121
define block HEAP with alignment = 8, size = __size_heap__ { };
2222

targets/TARGET_Maxim/TARGET_MAX32620/device/TOOLCHAIN_GCC_ARM/startup_max32620.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
#ifdef __STACK_SIZE
5252
.equ Stack_Size, __STACK_SIZE
5353
#else
54-
.equ Stack_Size, 0x00001000
54+
.equ Stack_Size, 0x00002000
5555
#endif
5656
.globl __StackTop
5757
.globl __StackLimit
@@ -66,7 +66,7 @@ __StackTop:
6666
#ifdef __HEAP_SIZE
6767
.equ Heap_Size, __HEAP_SIZE
6868
#else
69-
.equ Heap_Size, 0x00000C00
69+
.equ Heap_Size, 0x00004000
7070
#endif
7171
.globl __HeapBase
7272
.globl __HeapLimit

targets/TARGET_Maxim/TARGET_MAX32620/device/TOOLCHAIN_IAR/MAX32620.icf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM
1515
define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
1616

1717
/* Stack and Heap */
18-
define symbol __size_cstack__ = 0x800;
19-
define symbol __size_heap__ = 0x800;
18+
define symbol __size_cstack__ = 0x2000;
19+
define symbol __size_heap__ = 0x4000;
2020
define block CSTACK with alignment = 8, size = __size_cstack__ { };
2121
define block HEAP with alignment = 8, size = __size_heap__ { };
2222

0 commit comments

Comments
 (0)