soc: arm: stm32: Fix invalid Kconfig PM entry in defconfig file
The defconfig.series file for the stm32f4 incorrectly redefines the PM Kconfig in order to select two dependencies, COUNTER and COUNTER_RTC_STM32_SUBSECONDS, instead of setting a default for them if PM is included. This commit fixes the error described above. Signed-off-by: Bjarki Arge Andreasen <bjarki@arge-andreasen.me>
This commit is contained in:
parent
4b889e9e01
commit
01e94e0766
1 changed files with 9 additions and 3 deletions
|
@ -17,8 +17,14 @@ config TASK_WDT_HW_FALLBACK_DELAY
|
|||
depends on TASK_WDT_HW_FALLBACK
|
||||
default 200
|
||||
|
||||
config PM
|
||||
select COUNTER
|
||||
select COUNTER_RTC_STM32_SUBSECONDS if DT_HAS_ST_STM32_RTC_ENABLED
|
||||
if PM
|
||||
|
||||
config COUNTER
|
||||
default y
|
||||
|
||||
config COUNTER_RTC_STM32_SUBSECONDS
|
||||
default y if DT_HAS_ST_STM32_RTC_ENABLED
|
||||
|
||||
endif # PM
|
||||
|
||||
endif # SOC_SERIES_STM32F4X
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue