2014-05-05 21:38:59 +02:00
|
|
|
/*
|
2016-03-01 16:33:22 +01:00
|
|
|
* Copyright (C) 2014-2016 Freie Universität Berlin
|
2014-05-05 21:38:59 +02:00
|
|
|
*
|
2014-07-31 19:45:27 +02:00
|
|
|
* 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.
|
2014-05-05 21:38:59 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2015-02-12 13:57:37 +01:00
|
|
|
* @ingroup boards_udoo
|
2014-05-05 21:38:59 +02:00
|
|
|
* @{
|
|
|
|
*
|
2015-05-22 07:34:41 +02:00
|
|
|
* @file
|
2014-05-05 21:38:59 +02:00
|
|
|
* @brief Board specific implementations for the UDOO board
|
|
|
|
*
|
|
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
|
|
|
*
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
2016-03-01 16:33:22 +01:00
|
|
|
#include "cpu.h"
|
2014-05-05 21:38:59 +02:00
|
|
|
#include "board.h"
|
2016-03-01 16:33:22 +01:00
|
|
|
#include "periph/gpio.h"
|
2014-05-05 21:38:59 +02:00
|
|
|
|
|
|
|
void board_init(void)
|
|
|
|
{
|
2016-03-11 18:04:27 +01:00
|
|
|
/* initialize the on-board Amber "L" LED @ pin PB27 */
|
2016-03-17 14:54:05 +01:00
|
|
|
gpio_init(LED0_PIN, GPIO_OUT);
|
2014-05-05 21:38:59 +02:00
|
|
|
/* initialize the CPU */
|
|
|
|
cpu_init();
|
|
|
|
}
|