2019-09-28 02:55:27 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 Benjamin Valentin
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @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>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BOARD_H
|
|
|
|
#define BOARD_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name Xtimer configuration
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
#define XTIMER_WIDTH (16)
|
|
|
|
/** @} */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name LED pin definitions and handlers
|
|
|
|
* @{
|
|
|
|
*/
|
2022-08-08 09:55:20 +02:00
|
|
|
#define LED0_PIN_NUM 4
|
2024-04-30 11:15:46 +02:00
|
|
|
#define LED0_PORT GPIO_PORT_A /**< GPIO port of LED 0 */
|
2022-08-08 09:55:20 +02:00
|
|
|
#define LED0_PORT_NUM PORT_A
|
|
|
|
#define LED0_IS_INVERTED 1
|
2019-09-28 02:55:27 +02:00
|
|
|
/** @} */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2022-08-08 09:55:20 +02:00
|
|
|
#include "stm32_leds.h"
|
|
|
|
|
2019-09-28 02:55:27 +02:00
|
|
|
#endif /* BOARD_H */
|
|
|
|
/** @} */
|