mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-20 12:03:52 +01:00
44 lines
826 B
C
44 lines
826 B
C
/*
|
|
* SPDX-FileCopyrightText: 2017 Inria
|
|
* SPDX-License-Identifier: LGPL-2.1-only
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/**
|
|
* @defgroup boards_common_nucleo32 STM32 Nucleo-32
|
|
* @ingroup boards
|
|
* @brief Support for STM32 Nucleo-32 boards
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Common pin definitions and board configuration options
|
|
*
|
|
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
|
*/
|
|
|
|
#include "board_nucleo.h"
|
|
#include "arduino_pinmap.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @name Macros for controlling the on-board LED (LD3).
|
|
* @{
|
|
*/
|
|
#define LED0_PIN_NUM 3
|
|
#define LED0_PORT GPIO_PORT_B /**< GPIO port of LED 0 */
|
|
#define LED0_PORT_NUM PORT_B
|
|
/** @} */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#include "stm32_leds.h"
|
|
|
|
/** @} */
|