I am trying to create a heap in my SYSBIOS app. However I am getting the following error:
configuring ARM_init_SYSBIOS.pe9 from package/cfg/ARM_init_SYSBIOS_pe9.cfg ...
js: "C:/Users/Mike/TI Workspaces/AMX2_SYSBIOS/ARM_init_SYSBIOS/ARM_init_SYSBIOS.cfg", line 21: ReferenceError: "Memory" is not defined.
"./package/cfg/ARM_init_SYSBIOS_pe9.cfg", line 754
"./package/cfg/ARM_init_SYSBIOS_pe9.cfg", line 809
"./package/cfg/ARM_init_SYSBIOS_pe9.cfg", line 741
gmake.exe: *** [package/cfg/ARM_init_SYSBIOS_pe9.xdl] Error 1
I have included the Memory module header (#include <xdc/runtime/Memory.h>) and the Memory module (var xdc_runtime_Memory = xdc.useModule('xdc.runtime.Memory');) in my app and cfg file. But when I attempt to set the default heap to use my new heap (Memory.defaultHeapInstance = instxdc_runtime_HeapStd0;), I get the error above. What am I missing?
Thx,
MikeH