Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 Gunar Schorcht
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
28
29#include <stdint.h>
30
35
44#define BTN0_PIN GPIO9
45
53#define BTN0_MODE GPIO_IN_PU
54
58#ifndef BTN0_INT_FLANK
59# define BTN0_INT_FLANK GPIO_FALLING
60#endif
61
65#define BUTTON0_PIN BTN0_PIN
66
68
76#ifndef WS281X_PARAM_PIN
77# define WS281X_PARAM_PIN (GPIO8)
78#endif
79#ifndef WS281X_PARAM_NUMOF
80# define WS281X_PARAM_NUMOF (1U)
81#endif
83
84/* include common board definitions as last step */
85#include "board_common.h"
86
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91#ifdef __cplusplus
92} /* end extern "C" */
93#endif
94