These are chat archives for marvell-iot/aws_starter_sdk

27th
Sep 2017
maxdd
@maxdd
Sep 27 2017 16:51
How do i increase the heap size? ld.exe: Insufficient space left for heap
Jose Pablo Carballo
@josecarballoGL
Sep 27 2017 19:52
@maxdd You can increase the heap size by manipulating the linker script in build/toolchains/arm_gcc: https://github.com/marvell-iot/aws_starter_sdk/tree/master/build/toolchains/arm_gcc - Note that increasing the heap size will take effect on the other sections of the memory map. If you are facing the "inssuficient space left for heap" it is most likely because you are adding more code and libraries that make your .text partition increase, thus leaving less space for .heap; be sure to check that you are compiling in only what you need by checking your .config file.