diff --git a/boards/cuav/nora/init/rc.board_mavlink b/boards/cuav/nora/init/rc.board_mavlink index 30150e1f30..a7c5b8a837 100644 --- a/boards/cuav/nora/init/rc.board_mavlink +++ b/boards/cuav/nora/init/rc.board_mavlink @@ -1,6 +1,6 @@ #!/bin/sh # -# Board specific specific board MAVLink startup script. +# board specific board MAVLink startup script. #------------------------------------------------------------------------------ # Start MAVLink on the USB port diff --git a/boards/cuav/nora/nuttx-config/include/board.h b/boards/cuav/nora/nuttx-config/include/board.h index 3c1208f617..6d78671f81 100644 --- a/boards/cuav/nora/nuttx-config/include/board.h +++ b/boards/cuav/nora/nuttx-config/include/board.h @@ -60,7 +60,7 @@ #define STM32_HSI_FREQUENCY 16000000ul #define STM32_LSI_FREQUENCY 32000 #define STM32_HSE_FREQUENCY STM32_BOARD_XTAL -#define STM32_LSE_FREQUENCY 32768 +#define STM32_LSE_FREQUENCY 0 /* Main PLL Configuration. * diff --git a/boards/cuav/nora/nuttx-config/nsh/defconfig b/boards/cuav/nora/nuttx-config/nsh/defconfig index db33c736e3..e399f351b1 100644 --- a/boards/cuav/nora/nuttx-config/nsh/defconfig +++ b/boards/cuav/nora/nuttx-config/nsh/defconfig @@ -172,6 +172,7 @@ CONFIG_STM32H7_I2C_DYNTIMEO_STARTSTOP=10 CONFIG_STM32H7_OTGFS=y CONFIG_STM32H7_PROGMEM=y CONFIG_STM32H7_RTC=y +CONFIG_STM32H7_RTC_HSECLOCK=y CONFIG_STM32H7_RTC_MAGIC_REG=1 CONFIG_STM32H7_SAVE_CRASHDUMP=y CONFIG_STM32H7_SDMMC1=y diff --git a/boards/cuav/nora/src/bootloader_main.c b/boards/cuav/nora/src/bootloader_main.c index 537b9df053..0a481dcc19 100644 --- a/boards/cuav/nora/src/bootloader_main.c +++ b/boards/cuav/nora/src/bootloader_main.c @@ -48,7 +48,6 @@ #include "arm_internal.h" #include - extern int sercon_main(int c, char **argv); __EXPORT void board_on_reset(int status) {} diff --git a/boards/cuav/x7pro/init/rc.board_defaults b/boards/cuav/x7pro/init/rc.board_defaults index 855fb150f4..433c3d8f57 100644 --- a/boards/cuav/x7pro/init/rc.board_defaults +++ b/boards/cuav/x7pro/init/rc.board_defaults @@ -1,6 +1,6 @@ #!/bin/sh # -# CUAV X7Pro specific board defaults +# board specific defaults #------------------------------------------------------------------------------ # diff --git a/boards/cuav/x7pro/init/rc.board_mavlink b/boards/cuav/x7pro/init/rc.board_mavlink index 30150e1f30..a7c5b8a837 100644 --- a/boards/cuav/x7pro/init/rc.board_mavlink +++ b/boards/cuav/x7pro/init/rc.board_mavlink @@ -1,6 +1,6 @@ #!/bin/sh # -# Board specific specific board MAVLink startup script. +# board specific board MAVLink startup script. #------------------------------------------------------------------------------ # Start MAVLink on the USB port diff --git a/boards/cuav/x7pro/nuttx-config/include/board.h b/boards/cuav/x7pro/nuttx-config/include/board.h index 3c1208f617..6d78671f81 100644 --- a/boards/cuav/x7pro/nuttx-config/include/board.h +++ b/boards/cuav/x7pro/nuttx-config/include/board.h @@ -60,7 +60,7 @@ #define STM32_HSI_FREQUENCY 16000000ul #define STM32_LSI_FREQUENCY 32000 #define STM32_HSE_FREQUENCY STM32_BOARD_XTAL -#define STM32_LSE_FREQUENCY 32768 +#define STM32_LSE_FREQUENCY 0 /* Main PLL Configuration. * diff --git a/boards/cuav/x7pro/nuttx-config/nsh/defconfig b/boards/cuav/x7pro/nuttx-config/nsh/defconfig index df9eddf6be..2600291c00 100644 --- a/boards/cuav/x7pro/nuttx-config/nsh/defconfig +++ b/boards/cuav/x7pro/nuttx-config/nsh/defconfig @@ -172,6 +172,7 @@ CONFIG_STM32H7_I2C_DYNTIMEO_STARTSTOP=10 CONFIG_STM32H7_OTGFS=y CONFIG_STM32H7_PROGMEM=y CONFIG_STM32H7_RTC=y +CONFIG_STM32H7_RTC_HSECLOCK=y CONFIG_STM32H7_RTC_MAGIC_REG=1 CONFIG_STM32H7_SAVE_CRASHDUMP=y CONFIG_STM32H7_SDMMC1=y diff --git a/boards/cuav/x7pro/src/board_config.h b/boards/cuav/x7pro/src/board_config.h index 351fb09548..2ffd6ef0ee 100644 --- a/boards/cuav/x7pro/src/board_config.h +++ b/boards/cuav/x7pro/src/board_config.h @@ -34,7 +34,7 @@ /** * @file board_config.h * - * CUAV X7Pro internal definitions + * Board internal definitions */ #pragma once