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

33 lines
669 B
C
Raw Normal View History

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"
#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
LED_GREEN_OFF;
LED_RED_ON;
2013-03-06 01:10:50 +01:00
puts("RIOT native board initialized.");
}