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 select FLASH_HAS_DRIVER_ENABLED 8 select FLASH_HAS_PAGE_LAYOUT 9 depends on SOC_ESP32 10 help 11 Enable ESP32 internal flash driver. 12 13config MPU_ALLOW_FLASH_WRITE 14 bool "Add MPU access to write to flash" 15 help 16 Enable this to allow MPU RWX access to flash memory 17