2014-07-30 15:02:03 +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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2015-02-12 13:43:18 +01:00
|
|
|
* @ingroup boards_pca10005
|
2014-07-30 15:02:03 +02:00
|
|
|
* @{
|
|
|
|
*
|
2015-05-22 07:34:41 +02:00
|
|
|
* @file
|
2014-07-30 15:02:03 +02:00
|
|
|
* @brief Board specific implementations for the nRF51822 evaluation board pca10005
|
|
|
|
*
|
|
|
|
* @author Christian Kühling <kuehling@zedat.fu-berlin.de>
|
|
|
|
* @author Timo Ziegler <timo.ziegler@fu-berlin.de>
|
2014-09-26 17:50:27 +02:00
|
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
2014-07-30 15:02:03 +02:00
|
|
|
*
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "board.h"
|
|
|
|
#include "cpu.h"
|
|
|
|
|
|
|
|
void board_init(void)
|
|
|
|
{
|
2014-09-26 17:50:27 +02:00
|
|
|
/* setup led(s) for debugging */
|
2016-02-16 08:50:34 +01:00
|
|
|
NRF_GPIO->DIRSET = (LED_RED_MASK);
|
2014-09-26 17:50:27 +02:00
|
|
|
|
2014-07-30 15:02:03 +02:00
|
|
|
/* initialize the CPU */
|
|
|
|
cpu_init();
|
|
|
|
}
|