Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2017 Inria
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
18
19
#include "
board_nucleo.h
"
20
#include "
arduino_pinmap.h
"
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
30
#ifdef BOARD_NUCLEO_G031K8
31
# define LED0_PIN_NUM 6
32
# define LED0_PORT GPIO_PORT_C
33
# define LED0_PORT_NUM PORT_C
34
#else
35
# define LED0_PIN_NUM 3
36
# define LED0_PORT GPIO_PORT_B
37
# define LED0_PORT_NUM PORT_B
38
#endif
40
41
#ifdef __cplusplus
42
}
43
#endif
44
45
#include "
stm32_leds.h
"
46
arduino_pinmap.h
Compatibility wrapper for arduino_iomap.h.
board_nucleo.h
Global common Nucleo board configuration.
stm32_leds.h
Common LED macros.
Generated on Wed Jul 1 2026 14:13:32 by
1.13.2