1# STM32L552ZE-Q Nucleo board configuration
2
3# Copyright (c) 2024 STMicroelectronics
4# SPDX-License-Identifier: Apache-2.0
5
6if BOARD_NUCLEO_L552ZE_Q
7
8if BUILD_WITH_TFM
9
10# Not defining LIBC malloc arena has the effect of declaring all available RAM
11# as available for malloc.
12# This currently conflicts with TF-M MPU setting, resulting in a hard fault.
13# Define a specific size to avoid this situation.
14
15config COMMON_LIBC_MALLOC_ARENA_SIZE
16	default 2048
17
18endif # BUILD_WITH_TFM
19
20endif # BOARD_NUCLEO_L552ZE_Q
21