mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-06 14:56:46 +00:00
Add explicit_erase capability and set proper value to it, depending on type of a device. Select FLASH_HAS_EXPLICIT_ERASE by devices that have program-erase characteristics and FLASH_HAS_NO_EXPLICIT_ERASE, where needed. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
18 lines
503 B
Plaintext
18 lines
503 B
Plaintext
# Copyright (c) 2020 Espressif Systems (Shanghai) Co., Ltd.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SOC_FLASH_ESP32
|
|
bool "Espressif ESP32 flash driver"
|
|
default y
|
|
depends on DT_HAS_ESPRESSIF_ESP32_FLASH_CONTROLLER_ENABLED
|
|
select FLASH_HAS_DRIVER_ENABLED
|
|
select FLASH_HAS_PAGE_LAYOUT
|
|
select FLASH_HAS_EXPLICIT_ERASE
|
|
help
|
|
Enable ESP32 internal flash driver.
|
|
|
|
config MPU_ALLOW_FLASH_WRITE
|
|
bool "Add MPU access to write to flash"
|
|
help
|
|
Enable this to allow MPU RWX access to flash memory
|