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.

[参考译文] MSP430G2553:构建错误

Guru**** 2535180 points
Other Parts Discussed in Thread: MSP430G2553

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1013371/msp430g2553-build-error

器件型号:MSP430G2553

大家好、

我们的客户目前正在使用 MSP430G2553、但他们最近遇到了构建错误、我们希望您在 解决该错误时提供帮助。
下面是"Attaching the Console (连接控制台)"窗口错误。


**** Build of configuration Debug for project 24v_BLDC_motor_driver ****

"C:\\ti\\ccs901\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 
 
Building file: "../12c.c"
Invoking: MSP430 Compiler
"C:/ti/ccs901/ccs/tools/compiler/bin/cl430" -vmsp --use_hw_mpy=none --include_path="C:/ti/ccs901/ccs/ccs_base/msp430/include" --include_path="C:/Users/UserPc/workspace_v9/24v_BLDC_motor_driver/include" --include_path="C:/Users/UserPc/workspace_v9/24v_BLDC_motor_driver" --include_path="C:/ti/ccs901/ccs/tools/compiler/include" --advice:power=all --define=__MSP430G2553__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="12c.d_raw"  "../12c.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target '12c.obj' failed
gmake: *** [12c.obj] Error 1
Building file: "../RC5_remote.c"
Invoking: MSP430 Compiler
"C:/ti/ccs901/ccs/tools/compiler/bin/cl430" -vmsp --use_hw_mpy=none --include_path="C:/ti/ccs901/ccs/ccs_base/msp430/include" --include_path="C:/Users/UserPc/workspace_v9/24v_BLDC_motor_driver/include" --include_path="C:/Users/UserPc/workspace_v9/24v_BLDC_motor_driver" --include_path="C:/ti/ccs901/ccs/tools/compiler/include" --advice:power=all --define=__MSP430G2553__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="RC5_remote.d_raw"  "../RC5_remote.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'RC5_remote.obj' failed
gmake: *** [RC5_remote.obj] Error 1
Building file: "../main.c"
Invoking: MSP430 Compiler
"C:/ti/ccs901/ccs/tools/compiler/bin/cl430" -vmsp --use_hw_mpy=none --include_path="C:/ti/ccs901/ccs/ccs_base/msp430/include" --include_path="C:/Users/UserPc/workspace_v9/24v_BLDC_motor_driver/include" --include_path="C:/Users/UserPc/workspace_v9/24v_BLDC_motor_driver" --include_path="C:/ti/ccs901/ccs/tools/compiler/include" --advice:power=all --define=__MSP430G2553__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d_raw"  "../main.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'main.obj' failed
gmake: *** [main.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****



提前感谢!


此致、

Jejomar




  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!  

    我认为.c 文件中应该有一些错误、您可以向我共享代码吗?

    谢谢!

    此致

    Johnson

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Johnson、

    我们只需重新安装到最新的 CCS 版本即可解决该问题。 非常感谢您的关注。


    此致、

    Jejomar