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
34 #include "periph_cpu.h"
37 #include "cfg_rtt_default.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)
67 .rcc_mask = RCC_APB1ENR_USART3EN,
74 #ifdef MODULE_PERIPH_DMA
81 .rcc_mask = RCC_APB2ENR_USART6EN,
88 #ifdef MODULE_PERIPH_DMA
95 .rcc_mask = RCC_APB1ENR_USART2EN,
102 #ifdef MODULE_PERIPH_DMA
109 #define UART_0_ISR (isr_usart3)
110 #define UART_1_ISR (isr_usart6)
111 #define UART_2_ISR (isr_usart2)
113 #define UART_NUMOF ARRAY_SIZE(uart_config)
123 .rcc_mask = RCC_APB2ENR_TIM1EN,
133 .rcc_mask = RCC_APB1ENR_TIM4EN,
143 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
161 .rccmask = RCC_APB2ENR_SPI1EN,
163 #ifdef MODULE_PERIPH_DMA
172 #define SPI_NUMOF ARRAY_SIZE(spi_config)
194 #define ADC_NUMOF ARRAY_SIZE(adc_config)
201 #ifndef RTT_FREQUENCY
202 #define RTT_FREQUENCY (4096)