Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
I'm a newer to CCS and F28379. When I try to add a LED4 as a GPIO, when building the project, it throws:
Running script...
subdir_rules.mk:9: recipe for target 'build-1709016049' failed
TypeError: Cannot read property 'components' of undefined
at scriptFunc (xxxxxxxxxxxxxxxx\system.syscfg:17:43)
at cb (D:\TI\ccs1110\ccs\utils\sysconfig_1.11.0\dist\webpack:\src\pinmux\services\scripting\runScript.ts:94:27)
at Object.withDeprecatedAccess (D:\TI\ccs1110\ccs\utils\sysconfig_1.11.0\dist\webpack:\src\pinmux\services\deprecatedAccessGuard.ts:14:10)
at Object.runAsUserScript (D:\TI\ccs1110\ccs\utils\sysconfig_1.11.0\dist\webpack:\src\pinmux\services\scripting\scriptingGuard.ts:49:3)
at iteratee (D:\TI\ccs1110\ccs\utils\sysconfig_1.11.0\dist\webpack:\src\pinmux\services\scripting\runScript.ts:94:5)
at baseEach (D:\TI\ccs1110\ccs\utils\sysconfig_1.11.0\dist\webpack:\node_modules\lodash\lodash.js:530:11)
at Function.each (D:\TI\ccs1110\ccs\utils\sysconfig_1.11.0\dist\webpack:\node_modules\lodash\lodash.js:9409:52)
at iteratee (D:\TI\ccs1110\ccs\utils\sysconfig_1.11.0\dist\webpack:\src\pinmux\services\scripting\runScript.ts:92:6)
at baseEach (D:\TI\ccs1110\ccs\utils\sysconfig_1.11.0\dist\webpack:\node_modules\lodash\lodash.js:530:11)
at Function.us (D:\TI\ccs1110\ccs\utils\sysconfig_1.11.0\dist\webpack:\node_modules\lodash\lodash.js:9409:52)
And the line 17 in my system.syscfg is:
led1.$hardware = system.deviceData.board.components.LED4; led1.$name = "myLED0"; led1.gpio.$name = "myGPIO0";