Other Parts Discussed in Thread: SYSBIOS, CC1352P7, SYSCONFIG
Tool/software:
Reading through the document for TI-RTOS kernel, the user guide, I decided to implement of the example because it demonstrates how the different thread types work and how we can implement them in a standard way.
Particularly, on the page 101 of the TI-RTOS kernel user guid document, section 3.8 we have an example that begins as:
#include <xdc/std.h> #include <xdc/runtime/System.h> #include <xdc/runtime/Error.h> #include <ti/sysbios/BIOS.h> #include <ti/sysbios/hal/Timer.h> #include <ti/sysbios/knl/Semaphore.h> #include <ti/sysbios/knl/Swi.h> #include <ti/sysbios/knl/Task.h> #include <ti/sysbios/knl/Queue.h> #include <xdc/cfg/global.h>
fatal error: 'xdc/cfg/global.h' file not found
Also, I know that I am supposed to have a configuration script somewhere in my project, but I do not know how to add that.
The document specifically says to create the configuration script as (Partly mentioned):
var Defaults = xdc.useModule('xdc.runtime.Defaults'); var Diags = xdc.useModule('xdc.runtime.Diags'); var Error = xdc.useModule('xdc.runtime.Error'); var Log = xdc.useModule('xdc.runtime.Log'); var LoggerBuf = xdc.useModule('xdc.runtime.LoggerBuf'); var Main = xdc.useModule('xdc.runtime.Main'); var Memory = xdc.useModule('xdc.runtime.Memory') var SysMin = xdc.useModule('xdc.runtime.SysMin'); var System = xdc.useModule('xdc.runtime.System'); var Text = xdc.useModule('xdc.runtime.Text'); var Timer = xdc.useModule('ti.sysbios.hal.Timer'); var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem'); Program.argSize = 0x0; System.maxAtexitHandlers = 4; BIOS.heapSize = 0x2000; /* System stack size (used by ISRs and Swis) */ Program.stack = 0x1000; /* Circular buffer size for System_printf() */ SysMin.bufSize = 0x400;
Could you please tell me what I should do to make this example build?
Thanks.