mirror of https://github.com/ARMmbed/mbed-os.git
NCS36510 - decrease reserved heap space
Decrease the minimum space reserved for the heap from 16K down to 2K for GCC. This does not have an effect on the actual heap size since the heap takes up all free RAM. This just allows code to compile in configurations where the heap is smaller than 16K.pull/2900/head
parent
3ad80ebdbb
commit
c9739f4a51
|
@ -205,7 +205,7 @@ SECTIONS
|
|||
__end__ = .;
|
||||
end = __end__;
|
||||
*(.heap*);
|
||||
. += 0x4000;
|
||||
. += 0x800;
|
||||
__HeapLimit = .;
|
||||
} > RAM
|
||||
PROVIDE(__heap_size = SIZEOF(.heap));
|
||||
|
|
Loading…
Reference in New Issue