【笔记】CCS4 出现 warning: entry-point symbol other than "_c_int00" specified: "code_start" 的解决方法

这里提出一种解决方法。

官方的文档《2802x C/C++ Header Files and Peripheral Examples Quick Start》中有这样一段:

When I build the examples, the linker outputs the following: warning: entry point other than _c_int00 specified. What does this mean?
This warning is given when a symbol other then _c_int00 is defined as the code entry point of the project. For these examples, the symbol code_start is the first code that is executed after exiting the boot ROM code and thus is defined as the entry point via the –e linker option. This symbol is defined in the DSP2802x_CodeStartBranch.asm file. The entry point symbol is used by the debugger and by the hex utility. When you load thecode, CCS will set the PC to the entry point symbol. By default, this is the _c_int00 symbol which marks the start of the C initialization routine. For the DSP2802x examples,the code_start symbol is used instead. Refer to the source code for more information.

entry point符号是debugger所使用的。程序连接时已经制定了一个,而程序的文件中也定义了一个,导致冲突。在CCS4中,可以这样来解决



CCS5中,




 

然后将“code_start”替换成“_c_int00”,或者放置空白(前提是你的程序中已经有定义)就可以消除此WARNING。

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值