1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

jiminy-mega256rfr2: add BOOTLOADER_CLEARS_WATCHDOG_AND_PASSES_MCUSR

This variable helps to inform at boot time that some
information about the booting process, e.g. reset cause.
This commit is contained in:
Francisco Acosta 2018-09-21 19:30:40 +02:00
parent 956ae521dc
commit 73f6328137

View File

@ -101,6 +101,17 @@ extern "C" {
#define BOOTLOADER_CLEARS_WATCHDOG_AND_PASSES_MCUSR 1
/** @} */
/**
* @name Indicate Watchdog cleared in bootloader an
*
* AVR CPUs need to reset the Watchdog as fast as possible.
* This flag indicates that the watchdog is reseted in the bootloader
* and that the MCUSR value is stored in register 2 (r2)
* @{
*/
#define BOOTLOADER_CLEARS_WATCHDOG_AND_PASSES_MCUSR 1
/** @} */
/**
* @name CPU clock scale for jiminy-megarfr256rfr2
*