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
* Copyright (C) 2023 Gunar Schorcht
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
24
#ifndef BOARD_H
25
#define BOARD_H
26
27
#include <stdint.h>
28
42
#define BTN0_PIN GPIO0
43
50
#define BTN0_MODE GPIO_IN_PU
51
55
#ifndef BTN0_INT_FLANK
56
#define BTN0_INT_FLANK GPIO_FALLING
57
#endif
58
62
#define BUTTON0_PIN BTN0_PIN
63
72
#ifndef WS281X_PARAM_PIN
73
#define WS281X_PARAM_PIN (GPIO18)
74
#endif
75
#ifndef WS281X_PARAM_NUMOF
76
#define WS281X_PARAM_NUMOF (1U)
77
#endif
80
/* include common board definitions as last step */
81
#include "board_common.h"
82
83
#ifdef __cplusplus
84
extern
"C"
{
85
#endif
86
87
#ifdef __cplusplus
88
}
/* end extern "C" */
89
#endif
90
91
#endif
/* BOARD_H */
Generated on Sat Dec 21 2024 20:58:01 by
1.9.8