Solved
how to compile code on a particular address.i have to write the application for that or i can use some tools for that.
..
..
Hello ,
You can create your own linker file (user.ld) and use __attribute__
__attribute__ ((section (".codeinram"))) void gotoStandbyMode(void) {
WKUP.WISR.R = 0x00000008; //Clear interrupt flag
if ((ME.GS.B.S_CURRENTMODE < SPC5_RUNMODE_RUN3)
|| (ME.GS.B.S_CURRENTMODE > SPC5_RUNMODE_RUN0)) {
if (OSAL_FAILED == halSPCSetRunMode(SPC5_RUNMODE_STANDBY)) {
SPC5_CLOCK_FAILURE_HOOK();
}
}
}
__attribute__ ((section (".codeinram"))) void gotoRunMode(void)
{
if (OSAL_FAILED == halSPCSetRunMode(SPC5_RUNMODE_DRUN)) {
SPC5_CLOCK_FAILURE_HOOK();
}
}Best Regards
Erwan
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.