RIOT icon indicating copy to clipboard operation
RIOT copied to clipboard

arm_reset(void) should not be in arm_common/arm_cpu.c

Open thomaseichinger opened this issue 13 years ago • 2 comments

The following arm_reset() code is not valid for the mc1322x so it should be moved or guarded

__attribute__((naked, noreturn)) void arm_reset(void)
{
    dINT();
    WDTC   = 0x00FFF;
    WDMOD  = 0x03;
    WDFEED = 0xAA;
    WDFEED = 0x55;

    while (1);
}

thomaseichinger avatar Jul 22 '13 12:07 thomaseichinger

Should be fixed by 9556ca3e7c444c6647ce34be90b90159bebbc4d4 in the mc1322x branch.

OlegHahm avatar Jul 22 '13 13:07 OlegHahm

yes it is

thomaseichinger avatar Jul 22 '13 14:07 thomaseichinger