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.
Tool/software:
Hi,
I have reorganised my code, and subsequently renamed some files to better reflect their new content. However, when I tried to rebuild the project, I get some linking errors due to unresolved symbols. All symbols are in the renamed .cla file. When I look at the console log, there is not indication that the .cla file went through the compiler.
[36]DEL /F "syscfg\board.h" "syscfg\board.cmd.genlibs" "syscfg\pinmux.csv" "syscfg\epwm.dot" "syscfg\adc.dot" "syscfg\c2000ware_libraries.cmd.genlibs" "syscfg\c2000ware_libraries.h" "syscfg\clocktree.h" "syscfg\board.c" "syscfg\board.opt" "syscfg\c2000ware_libraries.opt" "syscfg\c2000ware_libraries.c" "converty-add-7k-fw-cpu2.out" [37]DEL /F "syscfg\board.obj" "syscfg\c2000ware_libraries.obj" "device\F2838x_CodeStartBranch.obj" "device\device.obj" "sources\com_interproc\com_interproc_cpu2.obj" "sources\ipc_management\ipc_management.obj" "sources\main_cpu2.obj" "sources\regulation\regulation_cpu2.obj" "sources\supervision\supervision_cpu2.obj" [38]DEL /F "syscfg\board.d" "syscfg\c2000ware_libraries.d" "device\device.d" "sources\com_interproc\com_interproc_cpu2.d" "sources\ipc_management\ipc_management.d" "sources\main_cpu2.d" "sources\regulation\regulation_cpu2.d" "sources\supervision\supervision_cpu2.d" [39]DEL /F "sources\regulation\regulation_cpu2.d" [40]DEL /F "device\F2838x_CodeStartBranch.d" [41]RMDIR /S/Q "syscfg" [42]Impossible de trouver C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\converty-add-7k-fw-cpu2.out [43]Impossible de trouver C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\sources\regulation\regulation_cpu2.d [44]Impossible de trouver C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\device\F2838x_CodeStartBranch.d [45]Finished clean [46]**** Build Finished **** [47]**** Build of configuration FLASH for project converty-add-7k-fw-multi **** [48]"C:\\TI\\CCS\\CCS_20_0\\ccs\\utils\\bin\\gmake" -k all [49]gmake: Nothing to be done for 'all'. [50]**** Build Finished **** [51]**** Build of configuration FLASH for project converty-add-7k-fw-cpu2 **** [52]"C:\\TI\\CCS\\CCS_20_0\\ccs\\utils\\bin\\gmake" -k -j 16 all -O [53]Building file: "../2205_ctc_chrg7k_sw_cpu2.syscfg" [54]Invoking: SysConfig [55]"C:/TI/CCS/CCS_20_0/ccs/utils/sysconfig_1.22.0/sysconfig_cli.bat" --script "C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu1/2205_ctc_chrg7k_sw_cpu1.syscfg" --context "CPU1" --script "C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/2205_ctc_chrg7k_sw_cpu2.syscfg" -o "syscfg" -s "C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/.metadata/sdk.json" -b "/boards/TMDSCNCD28388D" --context "CPU2" --compiler ccs [56]Running script... [57]Validating... [58]warning: CPU1 PWM_DP(/driverlib/epwm.js) epwm.epwm_aPin: Connected to hardware [59] GPIO-08 / PWM1A/57 is connected to FSI Header on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [60]warning: CPU1 PWM_DP(/driverlib/epwm.js) epwm.epwm_bPin: Connected to hardware [61] GPIO-09 / PWM1B/59 is connected to FSI Header on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [62]warning: CPU1 CMD_RLY_32A(/driverlib/gpio.js) gpioPin: Connected to hardware [63] GPIO-10 / PWMA/61 is connected to FSI Header on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [64]warning: CPU1 CMD_RLY_PRECH(/driverlib/gpio.js) gpioPin: Connected to hardware [65] GPIO-12 / PWM3A/58 is connected to EPWM7 on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [66]warning: CPU1 CMD_RLY_HVDC(/driverlib/gpio.js) gpioPin: Connected to hardware [67] GPIO-14 / PWMA/62 is connected to EPWM8 on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [68]warning: CPU1 AC_PRESENCE(/driverlib/gpio.js) gpioPin: Connected to hardware [69] GPIO-30 / CANRX/80 is connected to CANA on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [70]warning: CPU1 ID0(/driverlib/gpio.js) gpioPin: Connected to hardware [71] GPIO-26 / eCAP/79 is connected to FSI Header on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [72]warning: CPU1 ID1(/driverlib/gpio.js) gpioPin: Connected to hardware [73] GPIO-25 / eCAP/77 is connected to FSI Header on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [74]warning: CPU1 HVIL_OK(/driverlib/gpio.js) gpioPin: Connected to hardware [75] GPIO-27 / eCAP/81 is connected to FSI Header on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [76]warning: CPU1 OVP_VAC(/driverlib/gpio.js) gpioPin: Not pinned out [77] GPIO75/D16 is not pinned out on the Control Card F28388D. Using a custom board? [78]warning: CPU1 LED_JAUNE_1(/driverlib/gpio.js) gpioPin: Connected to hardware [79] GPIO-54 / QEPA/100 is connected to EQEP2 on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [80]warning: CPU1 LED_JAUNE_2(/driverlib/gpio.js) gpioPin: Connected to hardware [81] GPIO-55 / QEPB/102 is connected to EQEP2 on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [82]warning: CPU1 LED_JAUNE_3(/driverlib/gpio.js) gpioPin: Connected to hardware [83] GPIO-56 / QEPS/104 is connected to EQEP2 on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [84]warning: CPU1 LED_JAUNE_4(/driverlib/gpio.js) gpioPin: Connected to hardware [85] GPIO-57 / QEPI/106 is connected to EQEP2 on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [86]warning: CPU1 CONTROLCARD_D1(/driverlib/gpio.js) gpioPin: Connected to hardware [87] GPIO-31 / CANTX/82 is connected to CANA on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [88]warning: CPU1 CONTROLCARD_D2(/driverlib/gpio.js) gpioPin: Connected to hardware [89] GPIO-34/86 is connected to D2 (User LEDs) on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [90]warning: CPU2 PWM_PFC(/driverlib/epwm.js) epwm.epwm_aPin: Connected to hardware [91] GPIO-00/49 is connected to EPWM1 on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [92]warning: CPU2 PWM_PFC(/driverlib/epwm.js) epwm.epwm_bPin: Connected to hardware [93] GPIO-01/51 is connected to EPWM1 on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [94]warning: CPU2 PWM_TDC_1(/driverlib/epwm.js) epwm.epwm_aPin: Connected to hardware [95] GPIO-02/53 is connected to EPWM2 on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [96]warning: CPU2 PWM_TDC_1(/driverlib/epwm.js) epwm.epwm_bPin: Connected to hardware [97] GPIO-03/55 is connected to EPWM2 on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [98]warning: CPU2 PWM_TDC_2(/driverlib/epwm.js) epwm.epwm_aPin: Connected to hardware [99] GPIO-04/50 is connected to EPWM3 on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [100]warning: CPU2 PWM_TDC_2(/driverlib/epwm.js) epwm.epwm_bPin: Connected to hardware [101] GPIO-05/52 is connected to EPWM3 on the Control Card F28388D. Consider selecting it in 'use hardware' above. Using a custom board? [102]info: CPU1 CPUSELx(/driverlib/clocktree/mux.js) cpu_sel_mux: For enabling peripherals, use the CPU1 /driverlib/sysctl.js enable_SYSCTL_PERIPH_CLK_TIMER0 [103]info: CPU1 PERx_CPU1_SYSCLK_GATE(/driverlib/clocktree/unknown.js) cpu1_sysclk_gate: For enabling peripherals, use the CPU1 /driverlib/sysctl.js enable_SYSCTL_PERIPH_CLK_TIMER0 [104]info: CPU1 PERx_CPU2_SYSCLK_GATE(/driverlib/clocktree/unknown.js) cpu2_sysclk_gate: For enabling peripherals, use the CPU1 /driverlib/sysctl.js enable_SYSCTL_PERIPH_CLK_TIMER0 [105]info: CPU1 PWM_BUCK(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically [106]info: CPU1 PWM_BUCK(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule [107]info: CPU1 PWM_BUCK(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule [108]info: CPU1 PWM_DP(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically [109]info: CPU1 PWM_DP(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule [110]info: CPU1 PWM_DP(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule [111]info: CPU1 myFMC0(/driverlib/flash.js) calculatedWaitStates: It is important to look at your device's datasheet for information about what [112] the required minimum flash wait state is for your selected SYSCLK frequency. [113] See Flash section of TRM for more info. [114]info: CPU2 PWM_PFC(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically [115]info: CPU2 PWM_PFC(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule [116]info: CPU2 PWM_PFC(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule [117]info: CPU2 PWM_PFC(/driverlib/epwm.js) hrpwm_enable: MEP becomes operational: •Three EPWMCLK cycles after the period starts when high-resolution period (TBPRDHR) control is not enabled. • When high resolution period (TBPRDHR) control is enabled via the HRPCTL register – In up-count mode: three EPWMCLK cycles after the period starts until three EPWMCLK cycles before the period ends. – In up-down count mode: when counting up, three cycles after CTR = 0 until three cycles before CTR = PRD, and when counting down, three cycles after CTR = PRD until three cycles before CTR= 0. [118]info: CPU2 PWM_TDC_1(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically [119]info: CPU2 PWM_TDC_1(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule [120]info: CPU2 PWM_TDC_1(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule [121]info: CPU2 PWM_TDC_1(/driverlib/epwm.js) epwmTimebase_phaseEnable: If the EPWMxSYNCI signal is held HIGH, the sync will NOT continously occur. The EPWMxSYNCI is rising edge activated. [122]info: CPU2 PWM_TDC_2(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically [123]info: CPU2 PWM_TDC_2(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule [124]info: CPU2 PWM_TDC_2(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule [125]info: CPU2 PWM_TDC_2(/driverlib/epwm.js) epwmTimebase_phaseEnable: If the EPWMxSYNCI signal is held HIGH, the sync will NOT continously occur. The EPWMxSYNCI is rising edge activated. [126]info: CPU2 myFMC0(/driverlib/flash.js) calculatedWaitStates: It is important to look at your device's datasheet for information about what [127] the required minimum flash wait state is for your selected SYSCLK frequency. [128] See Flash section of TRM for more info. [129]Generating Code (2205_ctc_chrg7k_sw_cpu2.syscfg)... [130]Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\syscfg\board.c... [131]Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\syscfg\board.h... [132]Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\syscfg\board.cmd.genlibs... [133]Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\syscfg\board.opt... [134]Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\syscfg\pinmux.csv... [135]Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\syscfg\epwm.dot... [136]Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\syscfg\adc.dot... [137]Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\syscfg\c2000ware_libraries.cmd.genlibs... [138]Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\syscfg\c2000ware_libraries.opt... [139]Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\syscfg\c2000ware_libraries.c... [140]Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\syscfg\c2000ware_libraries.h... [141]Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\converty-add-7k-fw-cpu2\FLASH\syscfg\clocktree.h... [142]0 error(s), 22 warning(s) [143]Finished building: "../2205_ctc_chrg7k_sw_cpu2.syscfg" [144]Building file: "../device/F2838x_CodeStartBranch.asm" [145]Invoking: C2000 Compiler [146]"C:/TI/SDK/Compilers/CGT_22.3.1LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=5 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/sources" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/SDK/Compilers/CGT_22.3.1LTS/include" --advice:performance=all --define=FORCE_CCM_CONTROL --define=_STANDALONE --define=nDEBUG --define=_FLASH --define=CPU2 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/F2838x_CodeStartBranch.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/FLASH/syscfg" --obj_directory="device" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "../device/F2838x_CodeStartBranch.asm" [147]Finished building: "../device/F2838x_CodeStartBranch.asm" [148]Building file: "syscfg/c2000ware_libraries.c" [149]Invoking: C2000 Compiler [150]"C:/TI/SDK/Compilers/CGT_22.3.1LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=5 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/sources" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/SDK/Compilers/CGT_22.3.1LTS/include" --advice:performance=all --define=FORCE_CCM_CONTROL --define=_STANDALONE --define=nDEBUG --define=_FLASH --define=CPU2 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/c2000ware_libraries.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/FLASH/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/c2000ware_libraries.c" [151]Finished building: "syscfg/c2000ware_libraries.c" [152]Building file: "../device/device.c" [153]Invoking: C2000 Compiler [154]"C:/TI/SDK/Compilers/CGT_22.3.1LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=5 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/sources" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/SDK/Compilers/CGT_22.3.1LTS/include" --advice:performance=all --define=FORCE_CCM_CONTROL --define=_STANDALONE --define=nDEBUG --define=_FLASH --define=CPU2 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/FLASH/syscfg" --obj_directory="device" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "../device/device.c" [155]Finished building: "../device/device.c" [156]Building file: "../sources/main_cpu2.c" [157]Invoking: C2000 Compiler [158]"C:/TI/SDK/Compilers/CGT_22.3.1LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=5 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/sources" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/SDK/Compilers/CGT_22.3.1LTS/include" --advice:performance=all --define=FORCE_CCM_CONTROL --define=_STANDALONE --define=nDEBUG --define=_FLASH --define=CPU2 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="sources/main_cpu2.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/FLASH/syscfg" --obj_directory="sources" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "../sources/main_cpu2.c" [159]Finished building: "../sources/main_cpu2.c" [160]Building file: "../sources/com_interproc/com_interproc_cpu2.c" [161]Invoking: C2000 Compiler [162]"C:/TI/SDK/Compilers/CGT_22.3.1LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=5 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/sources" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/SDK/Compilers/CGT_22.3.1LTS/include" --advice:performance=all --define=FORCE_CCM_CONTROL --define=_STANDALONE --define=nDEBUG --define=_FLASH --define=CPU2 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="sources/com_interproc/com_interproc_cpu2.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/FLASH/syscfg" --obj_directory="sources/com_interproc" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "../sources/com_interproc/com_interproc_cpu2.c" [163]Finished building: "../sources/com_interproc/com_interproc_cpu2.c" [164]Building file: "C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared/ipc_management/ipc_management.c" [165]Invoking: C2000 Compiler [166]"C:/TI/SDK/Compilers/CGT_22.3.1LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=5 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/sources" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/SDK/Compilers/CGT_22.3.1LTS/include" --advice:performance=all --define=FORCE_CCM_CONTROL --define=_STANDALONE --define=nDEBUG --define=_FLASH --define=CPU2 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="sources/ipc_management/ipc_management.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/FLASH/syscfg" --obj_directory="sources/ipc_management" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared/ipc_management/ipc_management.c" [167]Finished building: "C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared/ipc_management/ipc_management.c" [168]Building file: "../sources/supervision/supervision_cpu2.c" [169]Invoking: C2000 Compiler [170]"C:/TI/SDK/Compilers/CGT_22.3.1LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=5 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/sources" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/SDK/Compilers/CGT_22.3.1LTS/include" --advice:performance=all --define=FORCE_CCM_CONTROL --define=_STANDALONE --define=nDEBUG --define=_FLASH --define=CPU2 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="sources/supervision/supervision_cpu2.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/FLASH/syscfg" --obj_directory="sources/supervision" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "../sources/supervision/supervision_cpu2.c" [171]Finished building: "../sources/supervision/supervision_cpu2.c" [172]Building file: "syscfg/board.c" [173]Invoking: C2000 Compiler [174]"C:/TI/SDK/Compilers/CGT_22.3.1LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=5 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/sources" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/SDK/Compilers/CGT_22.3.1LTS/include" --advice:performance=all --define=FORCE_CCM_CONTROL --define=_STANDALONE --define=nDEBUG --define=_FLASH --define=CPU2 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/board.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/FLASH/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/board.c" [175]Finished building: "syscfg/board.c" [176]Building file: "../sources/regulation/regulation_cpu2.c" [177]Invoking: C2000 Compiler [178]"C:/TI/SDK/Compilers/CGT_22.3.1LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=5 --fp_mode=relaxed --fp_reassoc=on --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/sources" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/SDK/Compilers/CGT_22.3.1LTS/include" --advice:performance=all --define=FORCE_CCM_CONTROL --define=_STANDALONE --define=nDEBUG --define=_FLASH --define=CPU2 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="sources/regulation/regulation_cpu2.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-cpu2/FLASH/syscfg" --obj_directory="sources/regulation" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "../sources/regulation/regulation_cpu2.c" [179]Finished building: "../sources/regulation/regulation_cpu2.c" [180]Building target: "converty-add-7k-fw-cpu2.out" [181]Invoking: C2000 Linker [182]"C:/TI/SDK/Compilers/CGT_22.3.1LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -O2 --opt_for_speed=5 --fp_mode=relaxed --fp_reassoc=on --advice:performance=all --define=FORCE_CCM_CONTROL --define=_STANDALONE --define=nDEBUG --define=_FLASH --define=CPU2 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"converty-add-7k-fw-cpu2.map" --heap_size=0x200 --stack_size=0x3F8 --warn_sections -i"C:/TI/SDK/Compilers/CGT_22.3.1LTS/lib" -i"C:/TI/SDK/Compilers/CGT_22.3.1LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="converty-add-7k-fw-cpu2_linkInfo.xml" --entry_point=code_start --rom_model -o "converty-add-7k-fw-cpu2.out" "./syscfg/board.obj" "./syscfg/c2000ware_libraries.obj" "./device/F2838x_CodeStartBranch.obj" "./device/device.obj" "./sources/com_interproc/com_interproc_cpu2.obj" "./sources/ipc_management/ipc_management.obj" "./sources/main_cpu2.obj" "./sources/regulation/regulation_cpu2.obj" "./sources/supervision/supervision_cpu2.obj" "../2838x_flash_cla_lnk_cpu2.cmd" "C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib" "C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared/ti_includes/SFO_v8_fpu_lib_build_c28_driverlib_eabi.lib" "C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared/ti_includes/cla2_math_library_datarom_fpu32_eabi.lib" "C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/converty-add-7k-fw-multi/shared/ti_includes/cla2_math_library_fpu32_eabi.lib" -llibc.a [183]<Linking> [184] undefined first referenced [185] symbol in file [186] --------- ---------------- [187] AcCurrent ./sources/regulation/regulation_cpu2.obj [188] AcVoltage ./sources/regulation/regulation_cpu2.obj [189] Cla1Task1 ./syscfg/board.obj [190] Cla1Task8 ./syscfg/board.obj [191] PfcVoltage ./sources/regulation/regulation_cpu2.obj [192] SecVoltage ./sources/regulation/regulation_cpu2.obj [193] ac_peak_voltage ./sources/regulation/regulation_cpu2.obj [194] pk_current_ref ./sources/regulation/regulation_cpu2.obj [195]error #10234-D: unresolved symbols remain [196]error #10010: errors encountered during linking; "converty-add-7k-fw-cpu2.out" not built [197]>> Compilation failure [198]makefile:161: recipe for target 'converty-add-7k-fw-cpu2.out' failed [199]gmake[1]: *** [converty-add-7k-fw-cpu2.out] Error 1 [200]makefile:157: recipe for target 'all' failed [201]gmake: *** [all] Error 2 [202]**** Build Finished ****
I tried restarting CCS (v20), but it didn't change anything. Neither did cleaning the cleaning of the project.
There are .c files in the same folder as the .cla file, and those are built properly.
Any idea where that might come from ?
Thanks in advance,
Adrien
Hi Adrien,
Did you only modify the name of the .cla file? Did you make any changes to the linker cmd file? Please show what exactly was changed between the buildable project and errored project.
Best Regards,
Delaney
Hi Delaney,
I didn't make any changes to the linked file for this core (cpu2). I made some changes on the cmd file for the other core (cpu1, only to merge the RAMLS5 and RAMLS6 sections into a single RAMLS5_LS6 section in which to put the cla program). It didn't cause any issue on the core with the cmd file changes (cpu1). It also didn't cause any issue at first with the cpu2, at least not until I renamed de .cla file name.
I have tried just now to duplicate the changes to the cpu1 cmd file into the cpu2 cmd file, but the renamed .cla file is still not built.
Other changes in the buildable project have mostly been renaming 1 .c file and one .h file, and deleting another .h file. Now, explaining here the changes made, I had a horrible doubt, which made me try something ... that revealed the likely issue. --> in my file renaming, I ended up with 3 files named regulation_cpu2.c , regulation_cpu2.h and regulation_cpu2.cla. Maybe the .cla file was not built because its name was the same as the .c file ? It seems that renaming the .cla file into something different from the .c file fixes the issue.
Good to know for the future, I can have a .c file and a .h file with the same name, a .h and a .cla file with the same name, but NOT a .c and a .cla file with the same name.
Best regards,
Adrien
Hi Adrien,
Maybe the .cla file was not built because its name was the same as the .c file ? It seems that renaming the .cla file into something different from the .c file fixes the issue.
Yes, having the cla file share a name with a C file would cause the compiler to try to generate two object files of the same name. Then, it wouldn't know which object file is for the CLA vs. the CPU, hence the errors. Glad you were able to resolve the issue.
Best Regards,
Delaney