summaryrefslogtreecommitdiff
path: root/hw/bsp/stm32n6/setup_iar.mac
blob: b6f2bc97a2fd7c22441a2cfe49883417d9389062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Called once after the target reset. */
execUserReset()
{
    /* Re-load image as AIXRAM2 is erased after CPU reset */
    __loadImage("$EXE_DIR$\\$TARGET_BNAME$.hex", 0, 0);

    __restoreSoftwareBreakpoints();

     #PC = __readMemory32(0x34180404, "Memory");

     #SP = 0x341FFD00;
}