This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2432: target build failed for syscfg in system project

Part Number: AM2432
Other Parts Discussed in Thread: SYSCONFIG

Hi Expert,

I created two projects in CCS and one system project. When I build them using "system_project", I found compilation errors, and "subdir_rules.mk" fils was wrongly generated as below,

SHELL = cmd.exe

# Each subdirectory must supply rules for building sources it contributes
build-1926704095: ../bcs.syscfg
@echo 'Building file: "$<"'
@echo 'Invoking: SysConfig'
"C:/ti/ccs1100/ccs/utils/sysconfig_1.11.0/sysconfig_cli.bat" -s "C:/ti/mcu_plus_sdk_am243x_08_01_00_36/.metadata/product.json" --script "C:/git/bcs_repo_8/code/make/r5f0/bcs.syscfg" --context "r5fss1-0" --script "C:/git/bcs_repo_8/code/make/r5f1/bcs.syscfg" --context "r5fss1-0" -o "syscfg" --part ALV --package ALV --compiler ticlang
@echo 'Finished building: "$<"'
@echo ' '

syscfg/error.h: build-1926704095 ../bcs.syscfg
syscfg/: build-1926704095

Could you let me know an clue why --script "C:/git/bcs_repo_8/code/make/r5f0/bcs.syscfg" --context "r5fss1-0" additionally inserted in above mk file?

I think only --script "C:/git/bcs_repo_8/code/make/r5f1/bcs.syscfg" --context "r5fss1-0" must be used. Maybe there is a wrong configuration in my environment, but I cannot find it. I would appreciate it if you share your knowledge and experience to resolve this problem.

Regards,

Moonil

  • Hi Moonil,

    Can you build the two CCS project files separately?. The system project only help you to group the CCS project for each core conveniently.

    If you can build them separately OK, the the problem is in your system project, otherwise, you will need to debug the CCS project which cannot be built correctly.

    Best regards,

    Ming

  • Hi Ming,

    Thank you for your kind and prompt response.

    Yes, I can build two CCS project files separately without any compilation problem before creating system project. however, after system project is created, the two CCS projects have problems in their separate compilation even though there is no change in each.

    I didn't do many things on the system project except for assigning two projects to each core in "system.xml".

    The different part from TI example is that "make" folder is one depth deeper like "make/r5f0/bcs.syscfg" and "make/r5f1/bcs.syscfg". Can this different folder structure make a problem with system project?

    I will check "system project" again as you commented.

    Regards,

    Moonil

  • Hi Ming,

    After creating each project again carefully referring to the TI examples, this issue was resolved. I didn't look into the reason in detail. I think there were wrong points during copying "make" directory and modifying them for another core.

    Thanks,

    Moonil