Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 David Picard
3 * SPDX-FileCopyrightText: 2026 Stepan Konoplev
4 * SPDX-License-Identifier: LGPL-2.1-only
5 */
6
7#pragma once
8
18
19#include <stdint.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
29#define LED0_PIN GPIO15
30#define LED0_ACTIVE (0)
32
33#if MODULE_PERIPH_INIT_BUTTONS || DOXYGEN
47# define BTN0_PIN GPIO9
56# define BTN0_MODE GPIO_IN
60# ifndef BTN0_INT_FLANK
61# define BTN0_INT_FLANK GPIO_FALLING
62# endif
66# define BUTTON0_PIN BTN0_PIN
68#endif
69
74#define RF_SWITCH_EN_GPIO GPIO3
75#define RF_SWITCH_ANT_GPIO GPIO14
77
78#include "board_common.h"
79
80#ifdef __cplusplus
81}
82#endif
83