Skip to content

Commit cb41750

Browse files
iabdalkaderdpgeorge
authored andcommitted
mimxrt/boards: Reduce stack size for 1011 and 1015 MCUs.
Reduced to 16KBs to allow enabling MSC. Signed-off-by: iabdalkader <[email protected]>
1 parent 2f646f9 commit cb41750

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ports/mimxrt/boards/MIMXRT1011.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ dtcm_size = 0x00008000;
2727
ocrm_start = 0x20200000;
2828
ocrm_size = 0x00010000;
2929

30-
/* 20kiB stack. */
31-
__stack_size__ = 0x5000;
30+
/* 16kiB stack. */
31+
__stack_size__ = 0x4000;
3232
_estack = __StackTop;
3333
_sstack = __StackLimit;
3434

ports/mimxrt/boards/MIMXRT1015.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ dtcm_size = 0x00008000;
2727
ocrm_start = 0x20200000;
2828
ocrm_size = 0x00010000;
2929

30-
/* 24kiB stack. */
31-
__stack_size__ = 0x5000;
30+
/* 16kiB stack. */
31+
__stack_size__ = 0x4000;
3232
_estack = __StackTop;
3333
_sstack = __StackLimit;
3434

0 commit comments

Comments
 (0)