23 #ifndef CONFIG_BOARD_HAS_LSE
24 #define CONFIG_BOARD_HAS_LSE 1
28 #ifndef CONFIG_BOARD_HAS_HSE
29 #define CONFIG_BOARD_HAS_HSE 1
33 #define CLOCK_HSE MHZ(25)
35 #include "periph_cpu.h"
37 #include "cfg_rtt_default.h"
52 .rcc_mask = RCC_APB1ENR_TIM2EN,
58 #define TIMER_0_ISR isr_tim2
60 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
70 .rcc_mask = RCC_APB2ENR_USART6EN,
77 #ifdef MODULE_PERIPH_UART_HW_FC
86 .rcc_mask = RCC_APB1ENR_USART2EN,
93 #ifdef MODULE_PERIPH_UART_HW_FC
102 .rcc_mask = RCC_APB1ENR_UART7EN,
109 #ifdef MODULE_PERIPH_UART_HW_FC
118 .rcc_mask = RCC_APB1ENR_UART5EN,
125 #ifdef MODULE_PERIPH_UART_HW_FC
134 #define UART_0_ISR (isr_usart6)
135 #define UART_1_ISR (isr_usart2)
136 #define UART_2_ISR (isr_uart4)
137 #define UART_3_ISR (isr_uart7)
138 #define UART_4_ISR (isr_uart5)
140 #define UART_NUMOF ARRAY_SIZE(uart_config)
156 .rcc_mask = RCC_APB1ENR_I2C2EN,
157 .irqn = I2C2_ER_IRQn,
161 #define I2C_0_ISR isr_i2c2_er
163 #define I2C_NUMOF ARRAY_SIZE(i2c_config)
181 .rccmask = RCC_APB2ENR_SPI1EN,
194 .rccmask = RCC_APB1ENR_SPI2EN,
199 #define SPI_NUMOF ARRAY_SIZE(spi_config)