mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-18 19:13:51 +01:00
51 lines
891 B
C
51 lines
891 B
C
/*
|
|
* SPDX-FileCopyrightText: 2019 Benjamin Valentin
|
|
* SPDX-License-Identifier: LGPL-2.1-only
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/**
|
|
* @ingroup boards_stm32f030f4-demo
|
|
*
|
|
* This board can be bought very cheaply (< 1€) on sites like eBay or
|
|
* AliExpress.
|
|
*
|
|
* @brief Support for the STM32F030F4 Demo Board
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Pin definitions and board configuration options
|
|
*
|
|
* @author Benjamin Valentin <benpicco@googlemail.com>
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @name Xtimer configuration
|
|
* @{
|
|
*/
|
|
#define XTIMER_WIDTH (16)
|
|
/** @} */
|
|
|
|
/**
|
|
* @name LED pin definitions and handlers
|
|
* @{
|
|
*/
|
|
#define LED0_PIN_NUM 4
|
|
#define LED0_PORT GPIO_PORT_A /**< GPIO port of LED 0 */
|
|
#define LED0_PORT_NUM PORT_A
|
|
#define LED0_IS_INVERTED 1
|
|
/** @} */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#include "stm32_leds.h"
|
|
|
|
/** @} */
|