This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to increase heap size?

Other Parts Discussed in Thread: TM4C1294NCPDT

Hi there,

I am going to write a driver for an AD5754 digital analog converter class. I am not able to dynamically create an object with the new operator. In an other thread I read that the heap size is zero on an other board. But I can not find the tcf file to configure the heap size manually. I have a file named "tm4c1294ncpdt.cmd" which says this in a comment:

/* The following command line options are set as part of the CCS project.    */
/* If you are building using the command line, or for some reason want to    */
/* define them here, you can uncomment and modify these lines as needed.     */
/* If you are using CCS for building, it is probably better to make any such */
/* modifications in your CCS project and leave this file alone.              */
/*                                                                           */
/* --heap_size=0                                                             */
/* --stack_size=256                                                          */
/* --library=rtsv7M4_T_le_eabi.lib                                           */

Where do I have to write --heap_size=65536 or similar?

Thank you!