1# Nordic Semiconductor nRFx MCU line 2 3# Copyright (c) 2016-2018 Nordic Semiconductor ASA 4# SPDX-License-Identifier: Apache-2.0 5 6if SOC_FAMILY_NORDIC_NRF 7 8rsource "*/Kconfig.defconfig" 9 10# If the kernel has timer support, enable clock control, except for SoCs 11# based on the Haltium platform SoCs where clock control is not needed 12# for the system timer 13config CLOCK_CONTROL 14 default y if SYS_CLOCK_EXISTS && !NRF_PLATFORM_HALTIUM 15 16config SYS_CLOCK_HW_CYCLES_PER_SEC 17 default 1000000 if NRF_GRTC_TIMER 18 default 32768 19 20config SYS_CLOCK_TICKS_PER_SEC 21 default 128 if !TICKLESS_KERNEL 22 default 31250 if NRF_GRTC_TIMER 23 default 32768 24 25config ARCH_HAS_CUSTOM_BUSY_WAIT 26 default y if ARM && !QEMU_TARGET 27 28config BUILD_OUTPUT_HEX 29 default y 30 31if !CORTEX_M_DWT && NRF_RTC_TIMER 32config SOC_HAS_TIMING_FUNCTIONS 33 default y 34endif 35 36config GPIO 37 default y 38 depends on SPI 39 40config UART_USE_RUNTIME_CONFIGURE 41 default n 42 43endif # SOC_FAMILY_NORDIC_NRF 44