Peripheral MCU configuration for the bluepill/blackpill board. More...

Detailed Description

#include "stm32_leds.h"
+ Include dependency graph for board_common.h:

Go to the source code of this file.

Macros

#define STDIO_UART_DEV   UART_DEV(0)
 Use the fist UART for STDIO on this board.
 

Macros for controlling the on-board LED.

#define LED0_PORT   GPIO_PORT_C
 GPIO port of LED 0.
 
#define LED0_PORT_NUM   PORT_C
 GPIO Port number the LED is connected to.
 
#define LED0_PIN_NUM   (13)
 Pin number the LED is connected to.
 
#define LED0_IS_INVERTED   1
 

xtimer configuration

#define XTIMER_WIDTH   (16)
 
#define XTIMER_BACKOFF   (19)