1# Copyright (c) 2020, Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4config COUNTER_NATIVE_SIM
5	bool "Counter on COUNTER_0"
6	default y
7	depends on (DT_HAS_ZEPHYR_NATIVE_SIM_COUNTER_ENABLED || DT_HAS_ZEPHYR_NATIVE_POSIX_COUNTER_ENABLED)
8
9config COUNTER_NATIVE_SIM_FREQUENCY
10	int "native_sim counter frequency in Hz"
11	default COUNTER_NATIVE_POSIX_FREQUENCY
12	depends on COUNTER_NATIVE_SIM
13
14config COUNTER_NATIVE_SIM_NBR_CHANNELS
15	int "native_sim counter: number of channels"
16	default COUNTER_NATIVE_POSIX_NBR_CHANNELS
17	depends on COUNTER_NATIVE_SIM
18
19config COUNTER_NATIVE_POSIX
20	bool "Counter on COUNTER_0 (deprecated)"
21	select DEPRECATED
22
23config COUNTER_NATIVE_POSIX_FREQUENCY
24	int "native_posix counter frequency in Hz (deprecated)"
25	default 1000
26
27config COUNTER_NATIVE_POSIX_NBR_CHANNELS
28	int "native counter, number of channels (deprecated)"
29	default 4
30