請教一下,若將 FunctionA搬到RAM執行,且FunctionA裡面的子函數使用inline這樣子函數是否也會搬進RAM執行?
ex:
#pragma CODE_SECTION(FunctionA, "ramfuncs");
inline SubFunctionA(void){...}
void FunctionA(void)
{
...
SubFunctionA();
}
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.
請教一下,若將 FunctionA搬到RAM執行,且FunctionA裡面的子函數使用inline這樣子函數是否也會搬進RAM執行?
ex:
#pragma CODE_SECTION(FunctionA, "ramfuncs");
inline SubFunctionA(void){...}
void FunctionA(void)
{
...
SubFunctionA();
}