[riot-devel] [RIOT] arm_reset(void) should not be in arm_common/arm_cpu.c (#74)

Thomas Eichinger notifications at github.com
Mon Jul 22 14:48:18 CEST 2013


The following `arm_reset()` code is not valid for the mc1322x so it should be moved or guarded
```C
__attribute__((naked, noreturn)) void arm_reset(void)
{
    dINT();
    WDTC   = 0x00FFF;
    WDMOD  = 0x03;
    WDFEED = 0xAA;
    WDFEED = 0x55;

    while (1);
}
```

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/74
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20130722/9e313c4a/attachment.html>


More information about the devel mailing list