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/TMS320F28379D:警告:在没有 SECTIONS 规范的情况下创建输出段".scratchpad&quot

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/915755/ccs-tms320f28379d-warning-creating-output-section-scratchpad-without-a-sections-specification

器件型号:TMS320F28379D

工具/软件:Code Composer Studio

大家好

我正在使用 C2000 MCU。 目前、"cla"模块有问题、我在"cla_adc_fir32"示例上创建了自己的代码库(我使用 ePWM 定期读取 ADC、ADC 转换结束触发 CLA 任务)、但我遇到了 CLA 的内部变量问题。 例如、如果我在 CLA 内部声明一个变量、则输出不采用这个值、并且我得到这个警告:

警告#10247-D:在没有 SECTIONS 规范的情况下创建输出段".scratchpad"

如果我尝试在 CLA 中执行一个简单的操作、就像:

_interrupt void Cla1Task7 (void)

浮点 A1、A2;

A1 = 5000;

A2 = 2000;
X = A1 + A2;//(X 是 Cla1ToCpuMsgRAM 浮动变量)

X 结果为0、因此我不知道发生了什么。

任何答案都将是 hellpfull

谢谢!