- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Labels:
-
ispn:40047:1:0
-
l1:314:1:0
- Tags:
- heap size
- memory heap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi KiOk_2981821,
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 -
#ifdef __HEAP_SIZE
.equ Heap_Size, __HEAP_SIZE
#else
.equ Heap_Size, 0x00000400
You can change the heap size here.
Thanks and Regards,
Rakshith M B
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi KiOk_2981821,
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 -
#ifdef __HEAP_SIZE
.equ Heap_Size, __HEAP_SIZE
#else
.equ Heap_Size, 0x00000400
You can change the heap size here.
Thanks and Regards,
Rakshith M B
Rakshith M B