24 #ifndef CONFIG_BOARD_HAS_LSE
25 #define CONFIG_BOARD_HAS_LSE 1
28 #ifndef CONFIG_BOARD_HAS_HSE
29 #define CONFIG_BOARD_HAS_HSE 1
32 #define CLOCK_HSE MHZ(32)
35 #define CLOCK_EXTAHB_DIV RCC_EXTCFGR_C2HPRE_3
36 #define CLOCK_EXTAHB (CLOCK_CORECLOCK / 2)
38 #include "periph_cpu.h"
41 #include "cfg_rtt_default.h"
55 .rcc_mask = RCC_APB2ENR_USART1EN,
67 .rcc_mask = RCC_APB1ENR2_LPUART1EN,
79 #define UART_0_ISR (isr_usart1)
80 #define UART_1_ISR (isr_lpuart1)
82 #define UART_NUMOF ARRAY_SIZE(uart_config)
100 .rccmask = RCC_APB2ENR_SPI1EN,
105 #define SPI_NUMOF ARRAY_SIZE(spi_config)