diff --git a/soc/cdns/sample_controller32/Kconfig.defconfig b/soc/cdns/sample_controller32/Kconfig.defconfig new file mode 100644 index 00000000000..70a570f9624 --- /dev/null +++ b/soc/cdns/sample_controller32/Kconfig.defconfig @@ -0,0 +1,11 @@ +# Copyright (c) 2025 Antmicro +# SPDX-License-Identifier: Apache-2.0 + +if SOC_XTENSA_SAMPLE_CONTROLLER32 + +# CONFIG_PRIVILEGED_STACK_SIZE must be aligned as specified by XCHAL_MPU_ALIGN. +# For `sample_controller32`, that value is equal to 4096 +config PRIVILEGED_STACK_SIZE + default 4096 if XTENSA_MPU + +endif # SOC_XTENSA_SAMPLE_CONTROLLER32