Hi,
I created a dynamic task in Tiva-C 1294 LaunchPad project. The .cfg file clearly shows the heap it there, but the build of source .c file fails with error:
Description Resource Path Location Type
#20 identifier "task1Heap" is undefined hello.c /hello_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT line 99 C/C++ Problem
Here is the screen picture:
I have checked that the file "/hello_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/Debug/configPkg/package/cfg/hello_pem4f.c" has no task1Heap variable, while .cfg file has its definition:
/* ================ Driver configuration ================ */
var TIRTOS = xdc.useModule('ti.tirtos.TIRTOS');
var heapMem0Params = new HeapMem.Params();
heapMem0Params.instance.name = "null";
heapMem0Params.size = 8192;
var task1Heap = HeapMem.create(heapMem0Params);
What is wrong with this Tiva-C file project?
Thanks,