Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen
3 * 2016 Laurent Navet <laurent.navet@gmail.com>
4 * 2019 Otto-von-Guericke-Universität Magdeburg
5 * 2023 Hugues Larrive
6 *
7 * This file is subject to the terms and conditions of the GNU Lesser
8 * General Public License v2.1. See the file LICENSE in the top level
9 * directory for more details.
10 */
11
25#ifndef BOARD_H
26#define BOARD_H
27
28#include "cpu.h"
29#include "periph_conf.h"
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
42#define STDIO_UART_BAUDRATE (9600U)
49#define XTIMER_WIDTH (16)
50#if CLOCK_CORECLOCK > 4000000UL
51#define XTIMER_HZ (CLOCK_CORECLOCK / 64)
52#else
53#define XTIMER_HZ (CLOCK_CORECLOCK / 8)
54#endif
55#define XTIMER_BACKOFF (40)
58#ifdef __cplusplus
59}
60#endif
61
62#endif /* BOARD_H */
Native CPU peripheral configuration.