1# Copyright (c) 2020 Espressif Systems (Shanghai) Co., Ltd.
2# SPDX-License-Identifier: Apache-2.0
3
4config SOC_FLASH_ESP32
5	bool "Espressif ESP32 flash driver"
6	default y
7	depends on DT_HAS_ESPRESSIF_ESP32_FLASH_CONTROLLER_ENABLED
8	select FLASH_HAS_DRIVER_ENABLED
9	select FLASH_HAS_PAGE_LAYOUT
10	select FLASH_HAS_EXPLICIT_ERASE
11	help
12	  Enable ESP32 internal flash driver.
13
14config MPU_ALLOW_FLASH_WRITE
15	bool "Add MPU access to write to flash"
16	help
17	  Enable this to allow MPU RWX access to flash memory
18