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) 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
9
#pragma once
10
26
#include <stdint.h>
27
41
#define BTN0_PIN GPIO0
42
49
#define BTN0_MODE GPIO_IN_PU
50
54
#ifndef BTN0_INT_FLANK
55
#define BTN0_INT_FLANK GPIO_FALLING
56
#endif
57
61
#define BUTTON0_PIN BTN0_PIN
62
71
#ifndef WS281X_PARAM_PIN
72
#define WS281X_PARAM_PIN (GPIO18)
73
#endif
74
#ifndef WS281X_PARAM_NUMOF
75
#define WS281X_PARAM_NUMOF (1U)
76
#endif
79
/* include common board definitions as last step */
80
#include "board_common.h"
81
82
#ifdef __cplusplus
83
extern
"C"
{
84
#endif
85
86
#ifdef __cplusplus
87
}
/* end extern "C" */
88
#endif
89
Generated on Mon Jun 30 2025 14:58:00 by
1.9.1