1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/microduino-corerf/include/board.h
Benjamin Valentin e958798225 boards/microduino-corerf: use 115200 baud for stdio
The MCU can handle that baud rate just fine.
A standard baud rate is much easier to use than those awkward 57600 baud.
2019-12-04 22:43:41 +01:00

58 lines
1.0 KiB
C

/*
* Copyright (C) 2019 Benjamin Valentin
*
* 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_microduino-corerf
* @{
*
* @file
* @brief Board specific definitions for the Microduino CoreRF board.
*
* @author Benjamin Valentin <benpicco@googlemail.com>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name baudrate for STDIO terminal
*
* @{
*/
#ifndef STDIO_UART_BAUDRATE
#define STDIO_UART_BAUDRATE (115200U) /**< Sets Baudrate for e.g. Shell */
#endif
/** @} */
/**
* @name xtimer configuration values
* @{
*/
#define XTIMER_WIDTH (16)
#define XTIMER_HZ (250000UL)
#define XTIMER_BACKOFF (40)
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and stdio
*/
void board_init(void);
#ifdef __cplusplus
}
#endif
#endif /* BOARD_H */
/** @} */