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.
程序中已经使用#pragma CODE_SECTION(InitFlash, "ramfuncs");当再使用#pragma CODE_SECTION(AdcConversion, "ramfuncs");和#pragma CODE_SECTION(adc_isr, "ramfuncs");是否可以这样使用?是否会把原来的InitFlash覆盖掉?谢谢!
可以这样使用,TI很多例程都有这样使用的情况,比如F28335的电机控制例程就有:
#ifdef FLASH #pragma CODE_SECTION(MainISR,"ramfuncs"); #pragma CODE_SECTION(OffsetISR,"ramfuncs"); #endif