The compiler is IAR 7.10, MCU type is Kinetis V31.
If the code is written by myself, we can use the following two ways to accomplish.
1.using keyword "__ramfunc" before the return type in the function protype.
__ramfunc void func(void);
2.located the function in section ".textrw"
void func(void) @".textrw"
But for FSL's motor control library, how to copy these functions to RAM? thanks!
For example, ACLIB_PMSMBemfObsrvDQ() and ACLIB_TrackObsrv() in CM4_ACLIB_F16.a