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

像我这样调用官方例程的初学者,可能在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中,可以这样来解决

 

 

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

高调做事,低调做人

原文地址:https://www.cnblogs.com/oneseven/p/lwpo2008.html