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.

[参考译文] CCS/MSP430F5659:在CCSV5导入项目的CCSV7中出现警告#1.0247万-D Creating output section ".TI.noinit" without a section specification (创建输出节"而不指定节)

Guru**** 2022830 points
Other Parts Discussed in Thread: MSP430F5659, MSP430F6659
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/593525/ccs-msp430f5659-warning-10247-d-creating-output-section-ti-noinit-without-a-sections-specification---appears-in-ccsv7-for-ccsv5-imported-project

部件号:MSP430F5659
主题中讨论的其他部件: MSP430F6659

工具/软件:Code Composer Studio

我正在使用CCSV7  版本:7.1 .0.0.0016万。  我已将我的项目从CCSV5项目导入到CCSV7中。   我正在16.9 CCSV7中使用编译器版本TI v.1.LTS。  这与我在CCSV5中使用的不同。

项目生成时没有错误。  我只看到一个警告:

   警告#1.0247万-D正在创建不带书帖规范的输出书帖".TI.noinit"

CCSV5中的链接器文件与原始CCSV5 MSP430F5659链接器文件相比略有不同,它是(重要的部分):

部分
{
	LOGGERBUFFER:{}> RAM2
BSS :{}> RAM | RAM2 /*全局和静态VARS */
数据 :{}> RAM | RAM2 /*全局和静态VARS */
sysmem :{}>内存 /*动态内存分配区域*/
堆栈 :{}> RAM (高) /*软件系统堆栈 */

文本 :{}>> FLASH2. /*代码 */
text:_isr :{}>闪存 /* ISR代码空间 */
#ifdef __larate_data_model__
cinit :{}> FLASH2. /*初始化表 */
。const :{}> FLASH2. /*常量数据 */
#其他
cinit :{}> FLASH2. /*初始化表 */
。const :{}>闪烁 /*常量数据 */
#endif
首席信息官 :{}>内存 /* C I/O缓冲区 */

。销钉 :{}>闪烁 /* C++构造函数表 */
init_array :{}> flash /* C++构造函数表 */
.mspabi.exidx :{}> flash /* C++构造函数表 */
.mspabi.extab :{}> flash /* C++构造函数表 */

信息A :{}> INFOA. /* MSP430信息闪存段*/
信息B :{}> INFOB.
信息温度 :{}> INFOC.
信息 :{}> INFOD.

/* MSP430中断向量 */
int00 :{} > INT00
int01 :{} 
(等等...)

我猜新的CCSV7会创建 一个不是由CCSv5创建的TI.noinit段。

我应该在链接程序文件中添加什么语句来放置TI.noinit?

谢谢!

Mike

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

    I guess that somethingsome about the new CCSV7 creates a TI.noinit segment that was not created by CCSv5[/QUOT] CCSV7 installation will with a later compiler installed by default than CCSV5,and some of required sections in linker command file change with the compiler versions.

    查看在CCS 7中为MSP430F6659创建的程序,将在以下各节中显示:

    .TI.noinit :{}> RAM2. /*用于#pragma noinit */ 

    I am using Compiler version TI 16.9 v.1.LTS in CCSV7。  这与我在CCSV5中使用的不同。

    可以将您在CCSV5中使用的相同编译器版本安装到CCSV7中。 请参阅 编译器发行版

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

    很棒!  感谢您的快速回答。

    Mike