1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/mcb2388/board_init.c
Benjamin Valentin 9183d16278 boards: add mcb2388
The MCB2388 Evaluation Board is a development board for the LPC2388 MCU.

LPC2388 and LPC2387 are very simmilar, the only difference is added USB Host
support.
Since this is not used yet, I chose to just pretend it's an lpc2387.

So far, only the two UARTs, LEDs and LCD display are configured.
2020-01-14 21:21:08 +01:00

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;
}