Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: sys bios - iheap and dynamic memory allocation

$
0
0

Hi Arpan,

You can place the SYS/BIOS system heap by adding the following lines of code to your *.cfg file:

var BIOS = xdc.useModule('ti.sysbios.BIOS'); BIOS.heapSize = <heap size in bytes>; BIOS.heapSection = ".esysmem";

The above assumes that there is an output section called ".esysmem" in your linker script that is placed in the desired memory segment.

(Please read section 6.7.2 in the SYS/BIOS user guide for more info on how dynamic memory allocation works - http://www.ti.com/lit/ug/spruex3m/spruex3m.pdf)


Best,

Ashish


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>