Other Parts Discussed in Thread: SYSCONFIG
Hi Experts,
I have a project for two cores of AM243X R5F, which consists of a system project, two executiable projects, and a couple of libraries. I am using Industrial communications SDK 9.1.0.03 (which contains MCU+SDK 9.1.0.41), The other components are:
- CCS 12.6.0.00008
- TI Clang 3.2.1 LTS compiler
- SysConfig 1.19.0
In all three projects (system + 2* executiable), under Preferences/CCS General/ Proeucts, I have included Industrial communications SDK and SysConfig in the versions mentioned above. Then, the definition ${MCU_PLUS_SDK_PATH} is missing in a couple of include paths.
I can allso install the MCU+SDK unter ${COM_TI_INDUSTRIAL_COMMUNICATIONS_SDK_AM243X_INSTALL_DIR}/mcu_plus_sdk as a reparate product and include this one in all three projects. Then, sysconfig sets the following error message, both when opening the dialog and when compiling:
Building file: "../D5_M_App.syscfg"
Invoking: SysConfig
"C:/DevTools/TI/ccs1260/ccs/utils/sysconfig_1.19.0/sysconfig_cli.bat" --script "C:/pro/1900/d5base/firmware/FW_EXE_Control/D5_M_Ctrl.syscfg" --context "r5fss1-0" --script "C:/pro/1900/d5base/firmware/FW_EXE_App/D5_M_App.syscfg" -o "syscfg" -s "C:/DevTools/TI/ind_comms_sdk_am243x_09_01_00_03/.metadata/product.json" -s "C:/DevTools/TI/ind_comms_sdk_am243x_09_01_00_03/mcu_plus_sdk/.metadata/product.json" -p "ALV" -r "ALV" --context "r5fss0-0" --compiler ticlang
Running script...
subdir_rules.mk:9: recipe for target 'build-1092103345' failed
Error: The following templates are declared more than once: ti_dpl_config.c,ti_dpl_config.h,ti_drivers_config.c,ti_drivers_config.h,ti_drivers_open_close.c,ti_drivers_open_close.h,ti_pinmux_config.c,ti_power_clock_config.c,ti_board_config.c,ti_board_config.h,ti_board_open_close.c,ti_board_open_close.h,ti_enet_config.c,ti_enet_config.h,ti_enet_open_close.c,ti_enet_open_close.h,ti_enet_soc.c,ti_enet_lwipif.c,ti_enet_lwipif.h,ti_pru_io_config.inc
at ensureUnique (C:\DevTools\TI\ccs1260\ccs\utils\sysconfig_1.19.0\dist\webpack:\src\pinmux\services\product\topModules.ts:213:9)
at t.TopModules.checkForDuplicates (C:\DevTools\TI\ccs1260\ccs\utils\sysconfig_1.19.0\dist\webpack:\src\pinmux\services\product\topModules.ts:197:3)
at new t.TopModules (C:\DevTools\TI\ccs1260\ccs\utils\sysconfig_1.19.0\dist\webpack:\src\pinmux\services\product\topModules.ts:129:8)
at new K (C:\DevTools\TI\ccs1260\ccs\utils\sysconfig_1.19.0\dist\webpack:\src\pinmux\services\resources\runtime.ts:244:22)
at iteratee (C:\DevTools\TI\ccs1260\ccs\utils\sysconfig_1.19.0\dist\webpack:\src\pinmux\services\sysConfig.ts:70:20)
at baseMap (C:\DevTools\TI\ccs1260\ccs\utils\sysconfig_1.19.0\dist\webpack:\node_modules\lodash\lodash.js:653:23)
at Function.map (C:\DevTools\TI\ccs1260\ccs\utils\sysconfig_1.19.0\dist\webpack:\node_modules\lodash\lodash.js:9621:51)
at new C (C:\DevTools\TI\ccs1260\ccs\utils\sysconfig_1.19.0\dist\webpack:\src\pinmux\services\sysConfig.ts:63:21)
at sysConfig (C:\DevTools\TI\ccs1260\ccs\utils\sysconfig_1.19.0\dist\webpack:\src\pinmux\services\sysConfigFactory.ts:86:9)
at t.runScripts (C:\DevTools\TI\ccs1260\ccs\utils\sysconfig_1.19.0\dist\webpack:\src\pinmux\services\scripting\runScript.ts:89:8)
gmake: *** [build-1092103345] Error 1
gmake: Target 'all' not remade because of errors.
How is this intended? Am I supposed to remove MCU+SDK and work-around the include paths?
BR
Alexander