2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-02-21 23:02:16 +08:00
|
|
|
config FLASH_NRF_FORCE_ALT
|
|
|
|
bool
|
|
|
|
depends on SOC_COMPATIBLE_NRF
|
|
|
|
help
|
|
|
|
This option can be enabled to force an alternative implementation
|
|
|
|
of the flash driver.
|
|
|
|
|
|
|
|
if !FLASH_NRF_FORCE_ALT
|
|
|
|
|
2019-02-15 21:45:52 +08:00
|
|
|
config SOC_FLASH_NRF
|
|
|
|
bool "Nordic Semiconductor nRF flash driver"
|
|
|
|
depends on SOC_FAMILY_NRF
|
|
|
|
select FLASH_HAS_PAGE_LAYOUT
|
|
|
|
select FLASH_HAS_DRIVER_ENABLED
|
2019-04-01 23:26:05 +08:00
|
|
|
select NRFX_NVMC
|
2019-02-21 22:53:29 +08:00
|
|
|
default y
|
2019-02-15 21:45:52 +08:00
|
|
|
help
|
|
|
|
Enables Nordic Semiconductor nRF flash driver.
|
|
|
|
|
|
|
|
config SOC_FLASH_NRF_RADIO_SYNC
|
|
|
|
bool "Nordic nRFx flash driver synchronized with radio"
|
|
|
|
depends on SOC_FLASH_NRF && BT_CTLR
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable synchronization between flash memory driver and radio.
|
|
|
|
|
|
|
|
config SOC_FLASH_NRF_UICR
|
|
|
|
bool "Access to UICR"
|
2019-04-01 23:26:05 +08:00
|
|
|
depends on SOC_FLASH_NRF && !TRUSTED_EXECUTION_NONSECURE
|
2019-02-15 21:45:52 +08:00
|
|
|
help
|
|
|
|
Enable operations on UICR. Once enabled UICR are written or read as
|
|
|
|
ordinary flash memory. Erase is possible for whole UICR at once.
|
2019-02-21 23:02:16 +08:00
|
|
|
|
|
|
|
endif #!FLASH_NRF_FORCE_ALT
|