soc: arm: stm32: activate LPTIM based upon PM
Activate LPTIM by default if PM is selected. Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
parent
9108d83c6e
commit
03297084e5
2 changed files with 8 additions and 0 deletions
|
@ -113,3 +113,7 @@
|
|||
pinctrl-names = "default";
|
||||
cd-gpios = <&gpiof 5 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
&lptim1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# ST Microelectronics STM32H7 MCU line
|
||||
|
||||
# Copyright (c) 2019 Linaro Limited
|
||||
# Copyright (c) 2022 SILA Embedded Solutions GmbH <office@embedded-solutions.at>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Kconfig symbols common to STM32H7 series
|
||||
|
@ -16,6 +17,9 @@ config ROM_START_OFFSET
|
|||
default 0x400 if BOOTLOADER_MCUBOOT
|
||||
default 0x0 if !BOOTLOADER_MCUBOOT
|
||||
|
||||
config STM32_LPTIM_TIMER
|
||||
default y if PM
|
||||
|
||||
if ENTROPY_GENERATOR
|
||||
|
||||
config ENTROPY_STM32_RNG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue