Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Gunar Schorcht
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
30
31#include <stdint.h>
32
37
46#define BTN0_PIN GPIO0
47
51#define BTN0_MODE GPIO_IN_PU
52
56#ifndef BTN0_INT_FLANK
57#define BTN0_INT_FLANK GPIO_FALLING
58#endif
59
63#define BUTTON0_PIN BTN0_PIN
64
66
79#ifndef WS281X_PARAM_PIN
80#define WS281X_PARAM_PIN (GPIO48)
81#endif
82#ifndef WS281X_PARAM_NUMOF
83#define WS281X_PARAM_NUMOF (1U)
84#endif
86
87/* include common board definitions as last step */
88#include "board_common.h"
89
90#ifdef __cplusplus
91extern "C" {
92#endif
93
94#ifdef __cplusplus
95} /* end extern "C" */
96#endif
97