Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 Gunar Schorcht
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
22
23#include <stdint.h>
24
31#define LED0_PIN GPIO46
32#define LED0_ACTIVE (0)
33
34#define LED1_PIN GPIO0
35#define LED1_ACTIVE (0)
36
37#define LED2_PIN GPIO45
38#define LED2_ACTIVE (0)
39
40#ifdef LED0_PIN
41# define LED_RED_PIN LED0_PIN
42#endif
43
44#ifdef LED1_PIN
45# define LED_GREEN_PIN LED1_PIN
46#endif
47
48#ifdef LED2_PIN
49# define LED_BLUE_PIN LED2_PIN
50#endif
52
53/* include common board definitions as last step */
54#include "board_common.h"
55
56#ifdef __cplusplus
57extern "C" {
58#endif
59
60#ifdef __cplusplus
61} /* end extern "C" */
62#endif
63