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(12)
35 #include "periph_cpu.h"
52 #define DMA_0_ISR isr_dma2_stream1
53 #define DMA_1_ISR isr_dma2_stream0
55 #define DMA_NUMOF ARRAY_SIZE(dma_config)
65 .rcc_mask = RCC_APB2ENR_USART1EN,
72 #ifdef MODULE_PERIPH_UART_HW_FC
78 #ifdef MODULE_PERIPH_DMA
79 .dma = DMA_STREAM_UNDEF,
80 .dma_chan = UINT8_MAX,
85 .rcc_mask = RCC_APB1ENR_USART2EN,
92 #ifdef MODULE_PERIPH_UART_HW_FC
98 #ifdef MODULE_PERIPH_DMA
99 .dma = DMA_STREAM_UNDEF,
100 .dma_chan = UINT8_MAX,
105 .rcc_mask = RCC_APB2ENR_USART6EN,
112 #ifdef MODULE_PERIPH_UART_HW_FC
118 #ifdef MODULE_PERIPH_DMA
119 .dma = DMA_STREAM_UNDEF,
120 .dma_chan = UINT8_MAX,
125 .rcc_mask = RCC_APB1ENR_USART3EN,
132 #ifdef MODULE_PERIPH_UART_HW_FC
138 #ifdef MODULE_PERIPH_DMA
139 .dma = DMA_STREAM_UNDEF,
140 .dma_chan = UINT8_MAX,
145 #define UART_0_ISR (isr_usart1)
146 #define UART_1_ISR (isr_usart2)
147 #define UART_2_ISR (isr_usart6)
148 #define UART_3_ISR (isr_usart3)
150 #define UART_NUMOF ARRAY_SIZE(uart_config)
168 .rccmask = RCC_APB2ENR_SPI4EN,
170 #ifdef MODULE_PERIPH_DMA
179 #define SPI_NUMOF ARRAY_SIZE(spi_config)
195 .rcc_mask = RCC_APB1ENR_I2C1EN,
207 .rcc_mask = RCC_APB1ENR_I2C3EN,
213 #define I2C_0_ISR isr_i2c1_ev
214 #define I2C_1_ISR isr_i2c3_ev
216 #define I2C_NUMOF ARRAY_SIZE(i2c_config)
238 #define ADC_NUMOF ARRAY_SIZE(adc_config)