Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions drivers/clock_control/Kconfig.nrf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
#
# SPDX-License-Identifier: Apache-2.0

config CLOCK_CONTROL_NRF_FORCE_ALT
bool
depends on SOC_COMPATIBLE_NRF
help
This option can be enabled to force an alternative implementation
of the clock control driver.

if !CLOCK_CONTROL_NRF_FORCE_ALT

menuconfig CLOCK_CONTROL_NRF
bool "NRF Clock controller support"
depends on SOC_COMPATIBLE_NRF
Expand Down Expand Up @@ -67,3 +76,5 @@ config CLOCK_CONTROL_NRF_K32SRC_20PPM
endchoice

endif # CLOCK_CONTROL_NRF

endif #!CLOCK_CONTROL_NRF_FORCE_ALT
11 changes: 11 additions & 0 deletions drivers/entropy/Kconfig.nrf5
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
#
# SPDX-License-Identifier: Apache-2.0

config ENTROPY_NRF_FORCE_ALT
bool
depends on SOC_COMPATIBLE_NRF
help
This option can be enabled to force an alternative implementation
of the entropy driver.

if !ENTROPY_NRF_FORCE_ALT

menuconfig ENTROPY_NRF5_RNG
bool "nRF5 RNG driver"
depends on SOC_COMPATIBLE_NRF
Expand Down Expand Up @@ -70,3 +79,5 @@ config ENTROPY_NRF5_PRI
nRF5X RNG IRQ priority.

endif # ENTROPY_NRF5_RNG

endif # !ENTROPY_NRF_FORCE_ALT
11 changes: 11 additions & 0 deletions drivers/flash/Kconfig.nrf
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
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

config SOC_FLASH_NRF
bool "Nordic Semiconductor nRF flash driver"
depends on SOC_FAMILY_NRF
Expand All @@ -20,3 +29,5 @@ config SOC_FLASH_NRF_UICR
help
Enable operations on UICR. Once enabled UICR are written or read as
ordinary flash memory. Erase is possible for whole UICR at once.

endif #!FLASH_NRF_FORCE_ALT