2013-03-06 10:48:14 +01:00
|
|
|
/**
|
|
|
|
* Native Board board_init implementation
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Ludwig Ortmann
|
|
|
|
*
|
|
|
|
* This file subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file LICENSE in the top level directory for more details.
|
|
|
|
*
|
2013-03-13 21:45:28 +01:00
|
|
|
* @ingroup native_board
|
2013-03-06 10:48:14 +01:00
|
|
|
* @{
|
|
|
|
* @file
|
|
|
|
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
|
|
|
|
* @}
|
|
|
|
*/
|
2013-06-02 12:42:10 +02:00
|
|
|
#include <stdio.h>
|
2013-03-06 12:27:25 +01:00
|
|
|
#include "board.h"
|
|
|
|
|
2013-07-15 20:57:12 +02:00
|
|
|
#include "board_internal.h"
|
|
|
|
|
2013-03-13 21:45:28 +01:00
|
|
|
/**
|
|
|
|
* Nothing to initialize at the moment.
|
|
|
|
* Turns the red LED on and the green LED off.
|
|
|
|
*/
|
2013-03-06 01:10:50 +01:00
|
|
|
void board_init()
|
|
|
|
{
|
2013-05-14 17:42:08 +02:00
|
|
|
#ifdef MODULE_UART0
|
|
|
|
_native_init_uart0();
|
|
|
|
#endif
|
2013-08-15 23:51:49 +02:00
|
|
|
LED_GREEN_OFF;
|
|
|
|
LED_RED_ON;
|
2013-03-06 01:10:50 +01:00
|
|
|
puts("RIOT native board initialized.");
|
|
|
|
}
|