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 
23 #include <stdint.h>
24 
31 #define LED0_PIN GPIO46
32 #define LED0_ACTIVE (0)
34 #define LED1_PIN GPIO0
35 #define LED1_ACTIVE (0)
37 #define LED2_PIN GPIO45
38 #define LED2_ACTIVE (0)
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
53 /* include common board definitions as last step */
54 #include "board_common.h"
55 
56 #ifdef __cplusplus
57 extern "C" {
58 #endif
59 
60 #ifdef __cplusplus
61 } /* end extern "C" */
62 #endif
63