19 #ifndef CONFIG_BOARD_HAS_LSE
20 #define CONFIG_BOARD_HAS_LSE 1
24 #ifndef CONFIG_BOARD_HAS_HSE
25 #define CONFIG_BOARD_HAS_HSE 1
29 #ifndef CONFIG_CLOCK_HSE
30 #define CONFIG_CLOCK_HSE MHZ(25)
33 #include "periph_cpu.h"
35 #include "cfg_rtt_default.h"
50 .rcc_mask = RCC_APB2ENR_USART1EN,
60 #define UART_0_ISR (isr_usart1)
62 #define UART_NUMOF ARRAY_SIZE(uart_config)
74 .rcc_mask = RCC_AHB3ENR_FMCEN,
75 #if MODULE_PERIPH_FMC_SDRAM
108 #if MODULE_PERIPH_FMC_32BIT
154 .address = 0xc0000000,
163 .burst_write =
false,
164 .burst_len = FMC_BURST_LENGTH_1,
165 .burst_interleaved =
false,
166 .write_protect =
false,
169 .row_to_col_delay = 2,
174 .exit_self_refresh = 7,
175 .load_mode_register = 2,
176 .refresh_period = 64,
185 #define FMC_BANK_NUMOF ARRAY_SIZE(fmc_bank_config)
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
static const uart_conf_t uart_config[]
UART configuration.
static const fmc_bank_conf_t fmc_bank_config[]
FMC Bank configuration.
static const fmc_conf_t fmc_config
FMC controller configuration.
Common configuration for STM32 Timer peripheral based on TIM2.
Common configuration for STM32 OTG FS peripheral.
@ GPIO_AF12
use alternate function 12
@ GPIO_AF7
use alternate function 7
@ APB2
Advanced Peripheral Bus 2
@ FMC_SDRAM
SDRAM Controller used.
@ FMC_BUS_WIDTH_32BIT
32 bit data bus width
Bank configuration structure.
FMC peripheral configuration.
UART device configuration.
USART_t * dev
pointer to the used UART device
#define MiB(x)
A macro to return the bytes in x MiB.