zephyr/drivers/flash/Kconfig.numaker
Dominik Ermel ea627fda7e drivers/flash: Add explict erase capability with proper values
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>
2024-06-04 08:00:46 +02:00

17 lines
514 B
Text

# NUMAKER GPIO driver configuration options
# Copyright (c) 2023 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
config SOC_FLASH_NUMAKER
bool "Nuvoton NuMaker MCU flash driver"
default y
select FLASH_HAS_PAGE_LAYOUT
select FLASH_HAS_DRIVER_ENABLED
select FLASH_HAS_EXPLICIT_ERASE
select HAS_NUMAKER_FMC
depends on DT_HAS_NUVOTON_NUMAKER_FMC_ENABLED
help
This option enables the FMC driver for Nuvoton NuMaker family of
processors.
Say y if you wish to enable NuMaker FMC.