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.

RTOS/TM4C129XNCZAD: _memory_size and heap size

Part Number: TM4C129XNCZAD
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hello.

I am trying to enlarge the _memory_size used for dynamic allocations. 

I thought it is using the heap memory, which I defined to 32KB, but the _memory_size is still 4KB, which is absolutely not enough for me.

What am I missing?

my CFG file (relevant parts)

var Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var SysMin = xdc.useModule('xdc.runtime.SysMin');
var System = xdc.useModule('xdc.runtime.System');
var Error = xdc.useModule('xdc.runtime.Error');
var ti_sysbios_hal_Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var Memory = xdc.useModule('xdc.runtime.Memory');
var Timestamp = xdc.useModule('xdc.runtime.Timestamp');
var TimestampProvider = xdc.useModule('ti.sysbios.family.arm.lm4.TimestampProvider');
var SyncGeneric = xdc.useModule('xdc.runtime.knl.SyncGeneric');
var Mailbox = xdc.useModule('ti.sysbios.knl.Mailbox');
var HeapStd = xdc.useModule('xdc.runtime.HeapStd');
var GIO = xdc.useModule('ti.sysbios.io.GIO');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
var Task = xdc.useModule('ti.sysbios.knl.Task');
BIOS.heapSize = 32767;
Program.stack = 2048;

Clock.timerId = 7;

var hwi0Params = new Hwi.Params();
hwi0Params.instance.name = "adcHwi";
Program.global.adcHwi = Hwi.create(30, "&ADC0SS0Handler", hwi0Params);
var hwi1Params = new Hwi.Params();
hwi1Params.instance.name = "sysTick";
Program.global.sysTick = Hwi.create(15, "&SysTickHandler", hwi1Params);

/*Task.addHookSet({
// registerFxn: '&myRegisterFxn',
// createFxn: '&myCreateFxn',
// deleteFxn: '&myDeleteFxn',
switchFxn: '&mySwitchFxn'
});*/
/* ================ NDK configuration ================ */

/*var Ndk = xdc.loadPackage('ti.ndk.config');
var Global = xdc.useModule('ti.ndk.config.Global');
var Ip = xdc.useModule('ti.ndk.config.Ip');
var Udp = xdc.useModule('ti.ndk.config.Udp');
var Tcp = xdc.useModule('ti.ndk.config.Tcp');

Global.IPv6 = false;
Global.stackLibType = Global.MIN;
Global.networkOpenHook = "&netOpenHook";

/* automatically call fdOpen/CloseSession for our sockets Task */
/*Global.autoOpenCloseFD = true;

Global.pktNumFrameBufs = 10;
Global.memRawPageCount = 6;
Global.ndkThreadStackSize = 2048;
Global.lowTaskStackSize = 1024;
Global.normTaskStackSize = 1024;
Global.highTaskStackSize = 1024;
Tcp.transmitBufSize = 1024;
Tcp.receiveBufSize = 1024;
/* ================ Text configuration ================ */
var Text = xdc.useModule('xdc.runtime.Text');
/*
* These strings are placed in the .const section. Setting this parameter to
* false will save space in the .const section. Error, Assert and Log messages
* will print raw ids and args instead of a formatted message.
*
* Pick one:
* - true (default)
* This option loads test string into the .const for easier debugging.
* - false
* This option reduces the .const footprint.
*/
Text.isLoaded = true;
//Text.isLoaded = false;

/* ================ Types configuration ================ */
var Types = xdc.useModule('xdc.runtime.Types');
/*
* This module defines basic constants and types used throughout the
* xdc.runtime package.
*/

/* ================ TI-RTOS middleware configuration ================ */
var mwConfig = xdc.useModule('ti.mw.Config');
/*
* Include TI-RTOS middleware libraries
*/

/* ================ TI-RTOS drivers' configuration ================ */
var driversConfig = xdc.useModule('ti.drivers.Config');
/*
* Include TI-RTOS drivers
*
* Pick one:
* - driversConfig.LibType_NonInstrumented (default)
* Use TI-RTOS drivers library optimized for footprint and performance
* without asserts or logs.
* - driversConfig.LibType_Instrumented
* Use TI-RTOS drivers library for debugging with asserts and logs enabled.
*/
driversConfig.libType = driversConfig.LibType_NonInstrumented;
//driversConfig.libType = driversConfig.LibType_Instrumented;

/* ================ Application Specific Instances ================ */
var FatFS = xdc.useModule('ti.mw.fatfs.FatFS');
System.maxAtexitHandlers = 2;
TimestampProvider.timerId = 3;
TimestampProvider.useClockTimer = true;
var semaphore7Params = new Semaphore.Params();
semaphore7Params.instance.name = "sdCardSem";
semaphore7Params.mode = Semaphore.Mode_BINARY;
Program.global.sdCardSem = Semaphore.create(null, semaphore7Params);
Program.gen.debuggerFiles = false;