1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/atmega_common
Jon Thacker c62803d243 atmega_common: disable interrupts prior to rebooting
If the watchdog is being reset in another thread, then
the reboot will never take place. This commit disables interrupts prior
to setting the watchdog timer to 250ms. This functionallity was common
to all Atmega CPUs, so it was moved to atmega_common.
2016-12-20 17:22:39 -06:00
..
avr-libc-extra cpu/atmega: revised header include guards. 2016-09-01 18:32:17 +02:00
include cpu/atmega_common: include time.h for time_t 2016-10-20 15:33:01 +02:00
periph cpu/uart: make use of named return values 2016-10-28 10:32:00 +02:00
doc.txt cpu: atmega_common: Initial import 2014-08-27 16:22:48 +02:00
irq_arch.c unify usage of inline assembly 2016-03-31 22:23:35 +02:00
Makefile cpu/atmega2560: update atmega2560 CPU code to use atmega_common code 2016-06-22 14:25:10 +02:00
Makefile.include boards/atmega_common: remove dead code on link 2016-08-18 22:08:55 +02:00
panic.c atmega: added panic function 2015-09-20 21:44:26 +02:00
reboot_arch.c atmega_common: disable interrupts prior to rebooting 2016-12-20 17:22:39 -06:00
thread_arch.c atmega: use software interrupt for context swap 2016-09-07 14:35:53 -05:00