How to set malloc heap size on ModusToolbox 2.0.0?
Sometime I would like to use small heap or large one.
I'm using ModusToolbox Version: 2.0.0 Build ID: 1703 and CY8CPROTO-062-4343W PSoC 6.
In the Project Explorer in ModusToolbox 2.0, go to libs > TARGET_CY8CPROTO-062-4343W > startup > TOOLCHAIN_GCC_ARM > startup_psoc6_02_cm4.S
Please find the following code -
.equ Heap_Size, __HEAP_SIZE
.equ Heap_Size, 0x00000400
You can change the heap size here.
Thanks and Regards,
Rakshith M B