mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
34 lines
679 B
C
34 lines
679 B
C
|
/*
|
||
|
* Copyright (C) 2019 Beuth Hochschule für Technik 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_mcb2388
|
||
|
* @{
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* @file
|
||
|
* @brief MCB2388 board initialization
|
||
|
*
|
||
|
* @author Benjamin Valentin <benpicco@beuth-hochschule.de>
|
||
|
*
|
||
|
* @}
|
||
|
*/
|
||
|
|
||
|
#include "board.h"
|
||
|
#include "cpu.h"
|
||
|
#include "periph/init.h"
|
||
|
#include "stdio_base.h"
|
||
|
|
||
|
void board_init(void)
|
||
|
{
|
||
|
/* LEDS */
|
||
|
FIO2DIR |= LED0_MASK | LED1_MASK | LED2_MASK | LED3_MASK \
|
||
|
| LED4_MASK | LED5_MASK | LED6_MASK | LED7_MASK;
|
||
|
}
|