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

48 lines
1017 B
C
Raw Normal View History

2013-08-07 12:25:03 +02:00
/*
* main.c - Main function of the SRF02 ultrasonic sensor project.
* Copyright (C) 2013 Zakaria Kasmi <zkasmi@inf.fu-berlin.de>
*
* 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.
2013-08-07 12:25:03 +02:00
*/
/**
2018-06-01 12:09:16 +02:00
* @ingroup boards_msba2
2013-08-07 12:25:03 +02:00
* @{
*/
/**
* @file
* @brief MSB-A2 board initialization
*
* @author Heiko Will
2017-10-19 22:52:18 +02:00
* @author Kaspar Schleiser <kaspar@schleiser.de>
2013-08-07 12:25:03 +02:00
* @author Michael Baar <baar@inf.fu-berlin.de>
* @author Zakaria Kasmi <zkasmi@inf.fu-berlin.de>
2013-08-07 12:25:03 +02:00
*
* @note $Id$
*/
2013-12-16 17:54:58 +01:00
#include "board.h"
#include "cpu.h"
2020-09-04 00:46:40 +02:00
#include "mtd.h"
#include "periph/init.h"
#include "stdio_base.h"
2020-09-04 00:46:40 +02:00
#ifdef MODULE_MTD_MCI
extern const mtd_desc_t mtd_mci_driver;
static mtd_dev_t _mtd_mci = { .driver = &mtd_mci_driver };
mtd_dev_t *mtd0 = &_mtd_mci;
#endif
void board_init(void)
{
/* LEDS */
2016-03-11 18:04:26 +01:00
FIO3DIR |= LED0_MASK;
FIO3DIR |= LED1_MASK;
2016-03-11 18:04:26 +01:00
LED0_OFF;
LED0_OFF;
2013-09-19 16:53:35 +02:00
}