2018-06-04 08:51:02 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2015 TriaGnoSys GmbH
|
|
|
|
* 2017 Alexander Kurth, Sören Tempel, Tristan Bruns
|
|
|
|
* 2018 Otto-von-Guericke-Universität Magdeburg
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2022-09-13 21:16:44 +02:00
|
|
|
* @ingroup boards_blackpill_stm32f103c8
|
2018-09-14 16:16:32 +02:00
|
|
|
* @brief Support for the stm32f103c8 based Black pill.
|
2018-06-04 08:51:02 +02:00
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
2018-09-14 16:16:32 +02:00
|
|
|
* @brief Peripheral MCU configuration for the Black Pill board
|
2018-06-04 08:51:02 +02:00
|
|
|
*
|
|
|
|
* @author Víctor Ariño <victor.arino@triagnosys.com>
|
|
|
|
* @author Sören Tempel <tempel@uni-bremen.de>
|
|
|
|
* @author Tristan Bruns <tbruns@uni-bremen.de>
|
|
|
|
* @author Alexander Kurth <kurth1@uni-bremen.de>
|
|
|
|
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BOARD_H
|
|
|
|
#define BOARD_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name Macros for controlling the on-board LED.
|
|
|
|
* @{
|
|
|
|
*/
|
2024-04-30 11:15:46 +02:00
|
|
|
#define LED0_PORT GPIO_PORT_B /**< GPIO port of LED 0 */
|
2022-08-08 09:55:20 +02:00
|
|
|
#define LED0_PORT_NUM PORT_B /**< GPIO Port number the LED is connected to */
|
|
|
|
#define LED0_PIN_NUM 12 /**< Pin number the LED is connected to */
|
2018-06-04 08:51:02 +02:00
|
|
|
/** @} */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2019-10-23 21:13:10 +02:00
|
|
|
/* Beware: This include must come *after* LED0 parameters have been defined */
|
2019-09-04 14:58:32 +02:00
|
|
|
#include "board_common.h"
|
|
|
|
|
2018-06-04 08:51:02 +02:00
|
|
|
#endif /* BOARD_H */
|
|
|
|
/** @} */
|