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.

AM3358: sysbios heap size increases binary size

Part Number: AM3358
Other Parts Discussed in Thread: SYSBIOS

I have ti-rtos (SYSBIOS) app running on a Pocket BeagleBone. In this app, I am allocating a large buffer maybe 2 MB to store some data. To get malloc to work I've increased the heap size in the .cfg file. This also makes the app binary image much larger.

In the app, I am initializing the buffer to 0's, then writing data into it as the app runs. Is there a way to be able allocate the big array without making the app image larger also?

The system is using the sd-card to store the MLO bootloader and the app itself. The larger app is also causing system to boot slower than if the image were smaller.

  • Hello,

    Please refer to this thread which discussed about a same issue and had a solution at the end.

    Please also note that TI has stopped supporting TI-RTOS based SW development for AM335x, as announced here. I would recommend you to check the consolidated resources provided in the announcement.

    Regards,

    Jianzhong