Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2026 Hudson C. Dalpra
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "board_nucleo.h"
19#include "arduino_pinmap.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
29#define LED0_PIN_NUM 6
30#define LED0_PORT GPIO_PORT_C
31#define LED0_PORT_NUM PORT_C
33
41#define BTN0_PIN GPIO_PIN(PORT_F, 2)
42#define BTN0_MODE GPIO_IN_PU
44
45#ifdef __cplusplus
46}
47#endif
48
49#include "stm32_leds.h"
50
Compatibility wrapper for arduino_iomap.h.
Global common Nucleo board configuration.
Common LED macros.