File tree Expand file tree Collapse file tree 4 files changed +16
-24
lines changed Expand file tree Collapse file tree 4 files changed +16
-24
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ _estack = ORIGIN(RAM) + LENGTH(RAM); /* end of RAM */
2323 Generate a link error if heap and stack don't fit into RAM.
2424 These numbers affect the USED size of RAM
2525*/
26- _Min_Heap_Size = 0x200 ; /* required amount of heap: 512 bytes */
27- _Min_Stack_Size = 0x400 ; /* required amount of stack: 1024 bytes */
26+ _Min_Heap_Size = 0x100 ; /* required amount of heap: 256 bytes */
27+ _Min_Stack_Size = 0x200 ; /* required amount of stack: 512 bytes */
2828
2929/* Specify the memory areas */
3030MEMORY
@@ -108,7 +108,7 @@ SECTIONS
108108 _sidata = LOADADDR (.data );
109109
110110 /* Initialized data sections goes into RAM, load LMA copy after code */
111- .data :
111+ .data :
112112 {
113113 . = ALIGN (4 );
114114 _sdata = .; /* create a global symbol at data start */
@@ -119,7 +119,7 @@ SECTIONS
119119 _edata = .; /* define a global symbol at data end */
120120 } >RAM AT> FLASH
121121
122-
122+
123123 /* Uninitialized data section */
124124 . = ALIGN (4 );
125125 .bss :
@@ -157,5 +157,3 @@ SECTIONS
157157
158158 .ARM .attributes 0 : { *(.ARM .attributes ) }
159159}
160-
161-
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ _estack = ORIGIN(RAM) + LENGTH(RAM); /* end of RAM */
2323 Generate a link error if heap and stack don't fit into RAM.
2424 These numbers affect the USED size of RAM
2525*/
26- _Min_Heap_Size = 0x200 ; /* required amount of heap: 512 bytes */
27- _Min_Stack_Size = 0x400 ; /* required amount of stack: 1024 bytes */
26+ _Min_Heap_Size = 0x100 ; /* required amount of heap: 256 bytes */
27+ _Min_Stack_Size = 0x200 ; /* required amount of stack: 512 bytes */
2828
2929/* Specify the memory areas */
3030MEMORY
@@ -108,7 +108,7 @@ SECTIONS
108108 _sidata = LOADADDR (.data );
109109
110110 /* Initialized data sections goes into RAM, load LMA copy after code */
111- .data :
111+ .data :
112112 {
113113 . = ALIGN (4 );
114114 _sdata = .; /* create a global symbol at data start */
@@ -119,7 +119,7 @@ SECTIONS
119119 _edata = .; /* define a global symbol at data end */
120120 } >RAM AT> FLASH
121121
122-
122+
123123 /* Uninitialized data section */
124124 . = ALIGN (4 );
125125 .bss :
@@ -157,5 +157,3 @@ SECTIONS
157157
158158 .ARM .attributes 0 : { *(.ARM .attributes ) }
159159}
160-
161-
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ _estack = ORIGIN(RAM) + LENGTH(RAM); /* end of RAM */
2323 Generate a link error if heap and stack don't fit into RAM.
2424 These numbers affect the USED size of RAM
2525*/
26- _Min_Heap_Size = 0x200 ; /* required amount of heap: 512 bytes */
27- _Min_Stack_Size = 0x400 ; /* required amount of stack: 1024 bytes */
26+ _Min_Heap_Size = 0x100 ; /* required amount of heap: 256 bytes */
27+ _Min_Stack_Size = 0x200 ; /* required amount of stack: 512 bytes */
2828
2929/* Specify the memory areas */
3030MEMORY
@@ -108,7 +108,7 @@ SECTIONS
108108 _sidata = LOADADDR (.data );
109109
110110 /* Initialized data sections goes into RAM, load LMA copy after code */
111- .data :
111+ .data :
112112 {
113113 . = ALIGN (4 );
114114 _sdata = .; /* create a global symbol at data start */
@@ -119,7 +119,7 @@ SECTIONS
119119 _edata = .; /* define a global symbol at data end */
120120 } >RAM AT> FLASH
121121
122-
122+
123123 /* Uninitialized data section */
124124 . = ALIGN (4 );
125125 .bss :
@@ -157,5 +157,3 @@ SECTIONS
157157
158158 .ARM .attributes 0 : { *(.ARM .attributes ) }
159159}
160-
161-
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ _estack = ORIGIN(RAM) + LENGTH(RAM); /* end of RAM */
2323 Generate a link error if heap and stack don't fit into RAM.
2424 These numbers affect the USED size of RAM
2525*/
26- _Min_Heap_Size = 0x200 ; /* required amount of heap: 512 bytes */
27- _Min_Stack_Size = 0x400 ; /* required amount of stack: 1024 bytes */
26+ _Min_Heap_Size = 0x100 ; /* required amount of heap: 256 bytes */
27+ _Min_Stack_Size = 0x200 ; /* required amount of stack: 512 bytes */
2828
2929/* Specify the memory areas */
3030MEMORY
@@ -108,7 +108,7 @@ SECTIONS
108108 _sidata = LOADADDR (.data );
109109
110110 /* Initialized data sections goes into RAM, load LMA copy after code */
111- .data :
111+ .data :
112112 {
113113 . = ALIGN (4 );
114114 _sdata = .; /* create a global symbol at data start */
@@ -119,7 +119,7 @@ SECTIONS
119119 _edata = .; /* define a global symbol at data end */
120120 } >RAM AT> FLASH
121121
122-
122+
123123 /* Uninitialized data section */
124124 . = ALIGN (4 );
125125 .bss :
@@ -157,5 +157,3 @@ SECTIONS
157157
158158 .ARM .attributes 0 : { *(.ARM .attributes ) }
159159}
160-
161-
You can’t perform that action at this time.
0 commit comments