1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/spark-core/board.c

33 lines
756 B
C
Raw Normal View History

2014-09-17 15:08:57 +02:00
/*
* Copyright (C) 2014 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup boards_spark-core
2014-09-17 15:08:57 +02:00
* @{
*
* @file
2014-09-17 15:08:57 +02:00
* @brief Board specific implementations for the spark-core board
*
* @author Christian Mehlis <mehlis@inf.fu-berlin.de>
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*
* @}
*/
#include "board.h"
2016-03-11 18:04:26 +01:00
#include "periph/gpio.h"
2014-09-17 15:08:57 +02:00
void board_init(void)
{
2016-03-11 18:04:26 +01:00
2014-09-17 15:08:57 +02:00
/* disable systick interrupt, set by the spark bootloader */
SysTick->CTRL = 0;
/* signal to spark bootloader: do not enable IWDG! set Stop Mode Flag! */
BKP->DR9 = 0xAFFF;
}