boards: arm: qemu_cortex_m0: move Kconfig definition to Kconfig
A board-level Kconfig option was defined in the Kconfig.defconfig file. Move it to a board-level Kconfig file. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
a9f7891c14
commit
aa69fe5ec9
2 changed files with 15 additions and 16 deletions
14
boards/arm/qemu_cortex_m0/Kconfig
Normal file
14
boards/arm/qemu_cortex_m0/Kconfig
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2021 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config NRF_TIMER_TIMER
|
||||
bool "nRF Timer Counter (NRF_TIMER0) Timer"
|
||||
depends on CLOCK_CONTROL
|
||||
depends on SOC_COMPATIBLE_NRF
|
||||
depends on SYS_CLOCK_EXISTS
|
||||
select TICKLESS_CAPABLE
|
||||
default y
|
||||
help
|
||||
This module implements a kernel device driver for the nRF Timer
|
||||
Counter NRF_TIMER0 and provides the standard "system clock driver"
|
||||
interfaces.
|
|
@ -8,23 +8,8 @@ if BOARD_QEMU_CORTEX_M0
|
|||
config BOARD
|
||||
default "qemu_cortex_m0"
|
||||
|
||||
if SYS_CLOCK_EXISTS
|
||||
|
||||
config NRF_TIMER_TIMER
|
||||
bool "nRF Timer Counter (NRF_TIMER0) Timer"
|
||||
depends on CLOCK_CONTROL
|
||||
depends on SOC_COMPATIBLE_NRF
|
||||
select TICKLESS_CAPABLE
|
||||
default y
|
||||
help
|
||||
This module implements a kernel device driver for the nRF Timer
|
||||
Counter NRF_TIMER0 and provides the standard "system clock driver"
|
||||
interfaces.
|
||||
|
||||
config NRF_RTC_TIMER
|
||||
default n
|
||||
|
||||
endif # SYS_CLOCK_EXISTS
|
||||
default n if SYS_CLOCK_EXISTS
|
||||
|
||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||
default 1000000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue