Loading...
# ST Microelectronics STM32 MCUs Flash driver config
# Copyright (c) 2016 RnDity Sp. z o.o.
# Copyright (c) 2017 BayLibre, SAS
# Copyright (c) 2022 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
config SOC_FLASH_STM32
bool "STM32 flash driver"
depends on DT_HAS_ST_STM32_FLASH_CONTROLLER_ENABLED || \
DT_HAS_ST_STM32H7_FLASH_CONTROLLER_ENABLED
select FLASH_HAS_DRIVER_ENABLED
default y
select FLASH_PAGE_LAYOUT
select FLASH_HAS_PAGE_LAYOUT
select MPU_ALLOW_FLASH_WRITE if ARM_MPU
help
Enable flash driver for STM32 series
|