Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2016 Frits Kuipers
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
27#define XTIMER_WIDTH (16)
28#define XTIMER_BACKOFF (19)
30
35#define LED0_PIN_NUM 1
36#define LED0_PORT GPIO_PORT_B
37#define LED0_PORT_NUM PORT_B
39
44#define BTN0_PIN GPIO_PIN(PORT_B, 8)
45#define BTN0_MODE GPIO_IN
47
51#define STDIO_UART_DEV UART_DEV(1)
52
53#ifdef __cplusplus
54}
55#endif
56
57#include "stm32_leds.h"
58
Common LED macros.