mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
53 lines
1021 B
C
53 lines
1021 B
C
|
/*
|
||
|
* Copyright (C) 2017 Inria
|
||
|
*
|
||
|
* 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.
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* @defgroup boards_arduino-mkr-common Arduino MKR Common
|
||
|
* @ingroup boards
|
||
|
* @brief Support for the Arduino MKR boards type.
|
||
|
* @{
|
||
|
*
|
||
|
* @file
|
||
|
* @brief Board specific definitions for the Arduino MKR
|
||
|
* board
|
||
|
*
|
||
|
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
|
||
|
*/
|
||
|
|
||
|
#ifndef BOARD_COMMON_H
|
||
|
#define BOARD_COMMON_H
|
||
|
|
||
|
#include "cpu.h"
|
||
|
#include "periph_conf.h"
|
||
|
#include "periph_conf_common.h"
|
||
|
#include "arduino_pinmap.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
/**
|
||
|
* @name xtimer configuration
|
||
|
* @{
|
||
|
*/
|
||
|
#define XTIMER TIMER_0
|
||
|
#define XTIMER_CHAN (0)
|
||
|
/** @} */
|
||
|
|
||
|
/**
|
||
|
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||
|
*/
|
||
|
void board_init(void);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* BOARD_COMMON_H */
|
||
|
/** @} */
|