blob: 7547fd3eb9c344b28348e54553474744590079da [file] [log] [blame]
# STM32L562E-DK Discovery board configuration
# Copyright (c) 2020 Yestin Sun
# SPDX-License-Identifier: Apache-2.0
if BOARD_STM32L562E_DK
if BT
config BT_BLUENRG_ACI
default y
# Disable Flow control
config BT_HCI_ACL_FLOW_CONTROL
default n
config BT_HCI_VS
default n
endif # BT
config MIPI_DBI_STM32_FMC_MEM_BARRIER
default n if MIPI_DBI_STM32_FMC
if DISPLAY
choice ST7789V_PIXEL_FORMAT
default ST7789V_BGR565
endchoice
endif # DISPLAY
if BUILD_WITH_TFM
# Not defining LIBC malloc arena has the effect of declaring all available RAM
# as available for malloc.
# This currently conflicts with TF-M MPU setting, resulting in a hard fault.
# Define a specific size to avoid this situation.
config COMMON_LIBC_MALLOC_ARENA_SIZE
default 2048
endif # BUILD_WITH_TFM
endif # BOARD_STM32L562E_DK