# Copyright (c) 2024 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0

# Enable SMPS
CONFIG_POWER_SUPPLY_DIRECT_SMPS=y

# Enable MPU
CONFIG_ARM_MPU=y

# Enable HW stack protection
CONFIG_HW_STACK_PROTECTION=y

# enable uart driver
CONFIG_SERIAL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# enable GPIO
CONFIG_GPIO=y

# SRAM0 being small (128KB), SYS_HEAP_SMALL_ONLY
# is automatically selected, leading to not being
# able to tackle HEAP on the large PSRAM. Force it
# to AUTO in order to be able to handle HEAP on
# both SRAM and PSRAM
CONFIG_SYS_HEAP_AUTO=y
