请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS320F280037 您好!
有没有更简单的方法可以将许多函数声明为在 while (1)之后调用的 RAM 函数、而是使用#pragma CODE_SECTION 声明所有函数
int main(void) { //some code in flash //compiler mark like the #pragma CODE_SECTION( ..), //that function after that point would go into ramfunction while( 1 ) { //some more code in RAM } }
谢谢
大卫