From 6a4d7de43c6a13508bcdc4f626f0dbf0c9542a56 Mon Sep 17 00:00:00 2001 From: Angela Stegmaier Date: Sat, 5 Dec 2020 11:12:54 -0600 Subject: [PATCH] PDK-8827: IPC: examples: Fix Build Issue with Idle Task for J721e Fix build issue introduced with recent change to swap order of Idle task functions in commit 4e192c640bfb098806deda6ab9e9558504b6a76c Signed-off-by: Angela Stegmaier --- .../ti/drv/ipc/examples/common/j721e/ipc_override.cfg | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/ti/drv/ipc/examples/common/j721e/ipc_override.cfg b/packages/ti/drv/ipc/examples/common/j721e/ipc_override.cfg index 0b800c8f3..649d4f0fc 100644 --- a/packages/ti/drv/ipc/examples/common/j721e/ipc_override.cfg +++ b/packages/ti/drv/ipc/examples/common/j721e/ipc_override.cfg @@ -58,13 +58,21 @@ if(coreId=="mcu1_0" || coreId=="mcu1_1" || coreId=="mcu2_0" || coreId=="mcu2_1" if(coreId=="c66xdsp_1" || coreId=="c66xdsp_2") { /* TraceBuf Idle Function */ + var Idle = xdc.useModule ('ti.sysbios.knl.Idle'); Idle.addFunc('&traceBuf_cacheWb'); var Exception = xdc.useModule('ti.sysbios.family.c64p.Exception'); Exception.exceptionHook = '&traceBuf_cacheWb_Exception'; + + /* Idle function */ + var Idle = xdc.useModule ('ti.sysbios.knl.Idle'); + Idle.addFunc('&sysIdleLoop'); + + var Task = xdc.useModule('ti.sysbios.knl.Task'); + Task.enableIdleTask = true; } -if(coreId=="c7x_1" || coreId=="c66xdsp_1" || coreId =="c66xdsp_2") +if(coreId=="c7x_1") { /* Idle function */ var Idle = xdc.useModule ('ti.sysbios.knl.Idle'); -- 2.26.2