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>
|
|
|
|
*
|
2014-07-31 20:15:03 +02:00
|
|
|
* 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>
|
2014-07-31 20:34:28 +02:00
|
|
|
* @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"
|
2010-09-22 15:10:42 +02:00
|
|
|
|
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 };
|
2023-04-11 18:40:47 +02:00
|
|
|
MTD_XFA_ADD(_mtd_mci, 0);
|
2020-09-04 00:46:40 +02:00
|
|
|
#endif
|
2022-02-14 14:31:31 +01:00
|
|
|
|
|
|
|
#ifdef MODULE_VFS_DEFAULT
|
|
|
|
#include "vfs_default.h"
|
|
|
|
VFS_AUTO_MOUNT(fatfs, { .dev = &_mtd_mci }, VFS_DEFAULT_SD(0), 0);
|
|
|
|
#endif
|