25 #ifndef CONFIG_BOARD_HAS_LSE
26 #define CONFIG_BOARD_HAS_LSE 1
30 #ifndef CONFIG_BOARD_HAS_HSE
31 #define CONFIG_BOARD_HAS_HSE 1
35 #define CLOCK_HSE MHZ(12)
37 #include "periph_cpu.h"
54 #define DMA_0_ISR isr_dma2_stream3
55 #define DMA_1_ISR isr_dma2_stream2
57 #define DMA_NUMOF ARRAY_SIZE(dma_config)
68 .rcc_mask = RCC_APB1ENR_TIM5EN,
74 #define TIMER_0_ISR isr_tim5
76 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
86 .rcc_mask = RCC_APB2ENR_USART1EN,
93 #ifdef MODULE_PERIPH_DMA
94 .dma = DMA_STREAM_UNDEF,
95 .dma_chan = UINT8_MAX,
100 #define UART_0_ISR (isr_usart1)
102 #define UART_NUMOF ARRAY_SIZE(uart_config)
120 .rccmask = RCC_APB2ENR_SPI1EN,
122 #ifdef MODULE_PERIPH_DMA
131 #define SPI_NUMOF ARRAY_SIZE(spi_config)
147 .rcc_mask = RCC_APB1ENR_I2C2EN,
149 .irqn = I2C2_ER_IRQn,
153 #define I2C_0_ISR isr_i2c2_er
155 #define I2C_NUMOF ARRAY_SIZE(i2c_config)