Other Parts Discussed in Thread: SYSCONFIG
function getLibs(mod) { // ... snip ... if (family != "") { family = family.replace(/^DeviceFamily_/, "").toLowerCase(); if (family.indexOf("msp432e") == 0) { family = "msp432e4"; } else if (family.indexOf("cc32") == 0) { family = "cc32xx"; } libs.push(libPath("ti/drivers","drivers_" + family + ".a")); // libs.push(libPath("ti/grlib", "grlib.a")); if (rtos == "TI-RTOS") { libs.push(libPath("ti/dpl","dpl_" + family + ".a")); } else if (rtos == "NoRTOS") { libs.push("lib/" + getToolchainDir() + "/" + getDeviceIsa() + "/nortos_" + family + ".a"); } } // ... snip ... }
The relevant piece of code exists in: "simplelink_cc13x2_26x2_sdk_4_30_00_54/source/ti/drivers/.meta/Board.syscfg.js"
This function always pushes "grlib.a" to the list of required libs for a product even if the project isn't using the graphics library. There's no logic here to conditionally include this library.