From 7a9418c82c5bb5b7f3e2293bde133f59422a2ae2 Mon Sep 17 00:00:00 2001 From: Nonpawit Ekburanawat Date: Fri, 26 Jul 2024 00:14:16 +0200 Subject: [PATCH] Enable SMPS for STM32H745I-DISCO by default --- boards/arm/stm32h7/stm32h745i-disco/configs/lvgl/defconfig | 1 + boards/arm/stm32h7/stm32h745i-disco/configs/netnsh/defconfig | 1 + boards/arm/stm32h7/stm32h745i-disco/configs/nsh/defconfig | 1 + boards/arm/stm32h7/stm32h745i-disco/configs/touchtest/defconfig | 1 + 4 files changed, 4 insertions(+) diff --git a/boards/arm/stm32h7/stm32h745i-disco/configs/lvgl/defconfig b/boards/arm/stm32h7/stm32h745i-disco/configs/lvgl/defconfig index 3000a9e186..fa38549fa3 100644 --- a/boards/arm/stm32h7/stm32h745i-disco/configs/lvgl/defconfig +++ b/boards/arm/stm32h7/stm32h745i-disco/configs/lvgl/defconfig @@ -76,6 +76,7 @@ CONFIG_STM32H7_I2C4=y CONFIG_STM32H7_LTDC=y CONFIG_STM32H7_LTDC_FB_BASE=0x24020000 CONFIG_STM32H7_LTDC_FB_SIZE=261120 +CONFIG_STM32H7_PWR_DIRECT_SMPS_SUPPLY=y CONFIG_STM32H7_USART3=y CONFIG_SYSTEM_NSH=y CONFIG_TTY_SIGINT=y diff --git a/boards/arm/stm32h7/stm32h745i-disco/configs/netnsh/defconfig b/boards/arm/stm32h7/stm32h745i-disco/configs/netnsh/defconfig index 5ab4ea1c74..ed8c1f7340 100644 --- a/boards/arm/stm32h7/stm32h745i-disco/configs/netnsh/defconfig +++ b/boards/arm/stm32h7/stm32h745i-disco/configs/netnsh/defconfig @@ -76,6 +76,7 @@ CONFIG_STM32H7_PHYSR_10FD=0x0014 CONFIG_STM32H7_PHYSR_10HD=0x0004 CONFIG_STM32H7_PHYSR_ALTCONFIG=y CONFIG_STM32H7_PHYSR_ALTMODE=0x001c +CONFIG_STM32H7_PWR_DIRECT_SMPS_SUPPLY=y CONFIG_STM32H7_USART3=y CONFIG_SYSTEM_DHCPC_RENEW=y CONFIG_SYSTEM_NSH=y diff --git a/boards/arm/stm32h7/stm32h745i-disco/configs/nsh/defconfig b/boards/arm/stm32h7/stm32h745i-disco/configs/nsh/defconfig index fedcf16996..3b5be6f730 100644 --- a/boards/arm/stm32h7/stm32h745i-disco/configs/nsh/defconfig +++ b/boards/arm/stm32h7/stm32h745i-disco/configs/nsh/defconfig @@ -43,6 +43,7 @@ CONFIG_START_DAY=6 CONFIG_START_MONTH=12 CONFIG_START_YEAR=2011 CONFIG_STM32H7_FMC=y +CONFIG_STM32H7_PWR_DIRECT_SMPS_SUPPLY=y CONFIG_STM32H7_USART3=y CONFIG_SYSTEM_NSH=y CONFIG_TASK_NAME_SIZE=0 diff --git a/boards/arm/stm32h7/stm32h745i-disco/configs/touchtest/defconfig b/boards/arm/stm32h7/stm32h745i-disco/configs/touchtest/defconfig index fe0711782d..2bd0ebb405 100644 --- a/boards/arm/stm32h7/stm32h745i-disco/configs/touchtest/defconfig +++ b/boards/arm/stm32h7/stm32h745i-disco/configs/touchtest/defconfig @@ -56,6 +56,7 @@ CONFIG_START_MONTH=12 CONFIG_START_YEAR=2011 CONFIG_STM32H7_FMC=y CONFIG_STM32H7_I2C4=y +CONFIG_STM32H7_PWR_DIRECT_SMPS_SUPPLY=y CONFIG_STM32H7_USART3=y CONFIG_SYSTEM_NSH=y CONFIG_TASK_NAME_SIZE=0