Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
board.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2022 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
9
#pragma once
10
34
#include <stdint.h>
35
49
#define BTN0_PIN GPIO0
50
57
#define BTN0_MODE GPIO_IN_PU
58
62
#ifndef BTN0_INT_FLANK
63
#define BTN0_INT_FLANK GPIO_FALLING
64
#endif
65
69
#define BUTTON0_PIN BTN0_PIN
70
84
#ifndef WS281X_PARAM_PIN
85
#define WS281X_PARAM_PIN (GPIO18)
86
#endif
87
#ifndef WS281X_PARAM_NUMOF
88
#define WS281X_PARAM_NUMOF (1U)
89
#endif
92
/* include common board definitions as last step */
93
#include "board_common.h"
94
95
#ifdef __cplusplus
96
extern
"C"
{
97
#endif
98
99
#ifdef __cplusplus
100
}
/* end extern "C" */
101
#endif
102
Generated on Mon Jun 30 2025 14:58:00 by
1.9.1