1# ST Microelectronics STM32WBA MCU line
2
3# Copyright (c) 2023 STMicroelectronics
4# SPDX-License-Identifier: Apache-2.0
5
6if SOC_SERIES_STM32WBAX
7
8rsource "Kconfig.defconfig.stm32wba*"
9
10config STM32_LPTIM_TIMER
11	default y if PM
12
13config STM32_FLASH_PREFETCH
14	default y
15
16config BT_STM32WBA
17	select DYNAMIC_INTERRUPTS
18	select DYNAMIC_DIRECT_INTERRUPTS
19	select ENTROPY_GENERATOR
20	select USE_STM32_HAL_RAMCFG
21
22if BT_STM32WBA
23
24choice LIBC_IMPLEMENTATION
25	default NEWLIB_LIBC
26endchoice
27
28choice LINKER_ORPHAN_CONFIGURATION
29	default LINKER_ORPHAN_SECTION_PLACE
30endchoice
31
32config ENTROPY_STM32_CLK_CHECK
33	default n
34
35config FPU
36	default y
37
38config SYSTEM_WORKQUEUE_STACK_SIZE
39	default 2048
40
41endif
42
43if PM_S2RAM
44
45config COUNTER
46	default y
47
48config COUNTER_RTC_STM32_SUBSECONDS
49	default y
50
51config STM32_LPTIM_STDBY_TIMER
52	default y
53
54config TICKLESS_KERNEL
55	default y
56
57config COUNTER_RTC_STM32_SAVE_VALUE_BETWEEN_RESETS
58	default y
59
60config IDLE_STACK_SIZE
61	default 512
62
63endif
64
65endif # SOC_SERIES_STM32WBAX
66