1# STM32L562E-DK Discovery board configuration 2 3# Copyright (c) 2020 Yestin Sun 4# SPDX-License-Identifier: Apache-2.0 5 6if BOARD_STM32L562E_DK 7 8if BT 9 10config BT_BLUENRG_ACI 11 default y 12 13# Disable Flow control 14config BT_HCI_ACL_FLOW_CONTROL 15 default n 16 17config BT_HCI_VS 18 default n 19 20endif # BT 21 22config MIPI_DBI_STM32_FMC_MEM_BARRIER 23 default n if MIPI_DBI_STM32_FMC 24 25if DISPLAY 26 27choice ST7789V_PIXEL_FORMAT 28 default ST7789V_BGR565 29endchoice 30 31endif # DISPLAY 32 33if BUILD_WITH_TFM 34 35# Not defining LIBC malloc arena has the effect of declaring all available RAM 36# as available for malloc. 37# This currently conflicts with TF-M MPU setting, resulting in a hard fault. 38# Define a specific size to avoid this situation. 39 40config COMMON_LIBC_MALLOC_ARENA_SIZE 41 default 2048 42 43endif # BUILD_WITH_TFM 44 45endif # BOARD_STM32L562E_DK 46