stm32/boards/STM32L476DISC: Enable external RTC xtal to get RTC working.

This commit is contained in:
roland 2018-09-07 14:15:13 +02:00 committed by Damien George
parent 670a2a3396
commit 67ee4e2401
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ extern struct _spi_bdev_t spi_bdev;
#define MICROPY_HW_CLK_PLLR (RCC_PLLR_DIV2)
#define MICROPY_HW_CLK_PLLQ (RCC_PLLQ_DIV2)
// The board has an external 32kHz crystal
#define MICROPY_HW_RTC_USE_LSE (1)
#define MICROPY_HW_FLASH_LATENCY FLASH_LATENCY_4
// USART config