27 #ifndef CONFIG_BOARD_HAS_LSE
28 #define CONFIG_BOARD_HAS_LSE 1
31 #include "periph_cpu.h"
34 #include "cfg_rtt_default.h"
51 #define DMA_0_ISR isr_dma1_channel2
52 #define DMA_1_ISR isr_dma1_channel3
53 #define DMA_2_ISR isr_dma1_channel4
54 #define DMA_3_ISR isr_dma1_channel7
56 #define DMA_NUMOF ARRAY_SIZE(dma_config)
68 .rcc_mask = RCC_APB1ENR1_TIM5EN,
74 #define TIMER_0_ISR isr_tim5
76 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
86 .rcc_mask = RCC_APB1ENR1_USART2EN,
95 #ifdef MODULE_PERIPH_DMA
102 .rcc_mask = RCC_APB1ENR1_USART3EN,
111 #ifdef MODULE_PERIPH_DMA
118 .rcc_mask = RCC_APB2ENR_USART1EN,
127 #ifdef MODULE_PERIPH_DMA
134 #define UART_0_ISR (isr_usart2)
135 #define UART_1_ISR (isr_usart3)
136 #define UART_2_ISR (isr_usart1)
138 #define UART_NUMOF ARRAY_SIZE(uart_config)
148 .rcc_mask = RCC_APB1ENR1_TIM2EN,
158 .rcc_mask = RCC_APB1ENR1_TIM3EN,
168 .rcc_mask = RCC_APB2ENR_TIM8EN,
178 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
196 .rccmask = RCC_APB2ENR_SPI1EN,
198 #ifdef MODULE_PERIPH_DMA
207 #define SPI_NUMOF ARRAY_SIZE(spi_config)
226 #define ADC_NUMOF ARRAY_SIZE(adc_config)