From bb37fd2f29dbe10187de8fc515864b1ee2d6bcf7 Mon Sep 17 00:00:00 2001 From: dino Date: Fri, 29 Jan 2021 15:47:25 +0100 Subject: [PATCH] Enabled LSE clock for RTC, set clk drive strength to 3. Else the quarzt on the fmuv5x does not socillate reliabel. --- boards/px4/fmu-v5x/nuttx-config/nsh/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/px4/fmu-v5x/nuttx-config/nsh/defconfig b/boards/px4/fmu-v5x/nuttx-config/nsh/defconfig index 8d5cf56acd..1ef345f1e0 100644 --- a/boards/px4/fmu-v5x/nuttx-config/nsh/defconfig +++ b/boards/px4/fmu-v5x/nuttx-config/nsh/defconfig @@ -208,6 +208,8 @@ CONFIG_STM32F7_PHY_POLLING=y CONFIG_STM32F7_PROGMEM=y CONFIG_STM32F7_PWR=y CONFIG_STM32F7_RTC=y +CONFIG_STM32F7_RTC_LSECLOCK_RUN_DRV_CAPABILITY=3 +CONFIG_STM32F7_RTC_LSECLOCK_START_DRV_CAPABILITY=3 CONFIG_STM32F7_RTC_MAGIC_REG=1 CONFIG_STM32F7_SAVE_CRASHDUMP=y CONFIG_STM32F7_SDMMC2=y