zephyr/soc/arm/nordic_nrf/Kconfig.defconfig
Anas Nashif dd931f93a2 power: standarize PM Kconfigs and cleanup
- Remove SYS_ prefix
- shorten POWER_MANAGEMENT to just PM
- DEVICE_POWER_MANAGEMENT -> PM_DEVICE

and use PM_ as the prefix for all PM related Kconfigs

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-12-09 15:18:29 -05:00

46 lines
735 B
Plaintext

# Nordic Semiconductor nRFx MCU line
# Copyright (c) 2016-2018 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if SOC_FAMILY_NRF
source "soc/arm/nordic_nrf/*/Kconfig.defconfig.series"
# If the kernel has timer support, enable both clock control and timer
if SYS_CLOCK_EXISTS
config CLOCK_CONTROL
default y
config NRF_RTC_TIMER
default y
endif # SYS_CLOCK_EXISTS
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 32768
config SYS_CLOCK_TICKS_PER_SEC
default 32768
config ARCH_HAS_CUSTOM_BUSY_WAIT
default y
config PM
default y
config BUILD_OUTPUT_HEX
default y
if !CORTEX_M_DWT && NRF_RTC_TIMER
config SOC_HAS_TIMING_FUNCTIONS
default y
endif
config GPIO
default y
depends on SPI
endif # SOC_FAMILY_NRF