Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2026 Gunar Schorcht
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
19
20
#include <stdint.h>
21
26
34
#define BTN0_PIN GPIO0
35
39
#define BTN0_MODE GPIO_IN_PU
40
44
#ifndef BTN0_INT_FLANK
45
# define BTN0_INT_FLANK GPIO_FALLING
46
#endif
47
51
#define BUTTON0_PIN BTN0_PIN
52
54
65
#define LED0_PIN GPIO42
66
#define LED0_ACTIVE 1
67
68
#ifndef WS281X_PARAM_PIN
69
# define WS281X_PARAM_PIN (GPIO45)
70
#endif
71
#ifndef WS281X_PARAM_NUMOF
72
# define WS281X_PARAM_NUMOF (1U)
73
#endif
75
76
/* include common board definitions as last step */
77
#include "board_common.h"
78
79
#ifdef __cplusplus
80
extern
"C"
{
81
#endif
82
83
#ifdef __cplusplus
84
}
85
#endif
86
Generated on Wed Nov 25 2026 14:49:45 by
1.13.2