Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
29
#include <stdint.h>
30
44
#define BTN0_PIN GPIO9
45
52
#define BTN0_MODE GPIO_IN_PU
53
57
#ifndef BTN0_INT_FLANK
58
#define BTN0_INT_FLANK GPIO_FALLING
59
#endif
60
64
#define BUTTON0_PIN BTN0_PIN
65
75
#ifndef WS281X_PARAM_PIN
76
#define WS281X_PARAM_PIN (GPIO8)
77
#endif
78
#ifndef WS281X_PARAM_NUMOF
79
#define WS281X_PARAM_NUMOF (1U)
80
#endif
83
/* include common board definitions as last step */
84
#include "board_common.h"
85
86
#ifdef __cplusplus
87
extern
"C"
{
88
#endif
89
90
#ifdef __cplusplus
91
}
/* end extern "C" */
92
#endif
93
Generated on Sat Sep 6 2025 20:14:01 by
1.9.1