Loading...
Searching...
No Matches
board_common.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 TriaGnoSys GmbH
3 * SPDX-FileCopyrightText: 2017 Alexander Kurth, Sören Tempel, Tristan Bruns
4 * SPDX-License-Identifier: LGPL-2.1-only
5 */
6
7#pragma once
8
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
31#ifndef LED0_PORT_NUM
32#define LED0_PORT GPIO_PORT_C
33#define LED0_PORT_NUM PORT_C
34#endif
35#ifndef LED0_PIN_NUM
36#define LED0_PIN_NUM (13)
37#endif
38#ifndef LED0_IS_INVERTED
39#define LED0_IS_INVERTED 1
40#endif
42
46#define STDIO_UART_DEV UART_DEV(0)
47
52#define XTIMER_WIDTH (16)
53#define XTIMER_BACKOFF (19)
55
56#ifdef __cplusplus
57}
58#endif
59
60#include "stm32_leds.h"
61
Common LED macros.