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 Benjamin Valentin
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
19
#include <stdint.h>
20
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
60
#define LED0_PIN GPIO15
61
#define LED0_ACTIVE 1
64
/* include common board definitions as last step */
65
#include "board_common.h"
66
67
#ifdef __cplusplus
68
extern
"C"
{
69
#endif
70
71
#ifdef __cplusplus
72
}
/* end extern "C" */
73
#endif
74
Generated on Sat Sep 6 2025 20:14:01 by
1.9.1