# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0

config TEST_DRIVER_COUNTER_MCUX_LPC_RTC_HIGHRES
	bool "tests the nxp_lpc_rtc_highres compatible driver"
	default y if COUNTER_MCUX_LPC_RTC_HIGHRES
	help
	  tests the nxp_lpc_rtc_highres compatible driver

config TEST_DRIVER_COUNTER_TOLERANCE
	int "Counter ticks tolerance (%)"
	default 10
	help
	  Error tolerance used in counter driver tests.
	  A number of ticks is estimated and counter is tested against systimer,
	  to verify accuracy. Tolerance is a percentage of deviation allowed for
	  the number of expected ticks.

config TEST_GUARD_PERIOD_US
	int "Guard Period in us"
	default 16000 if COUNTER_MCHP_RTC_G1
	default 200
	help
	  Guard period in us

config TEST_PROCESSING_LIMIT_US
	int "Processing limit in us"
	default 20000 if COUNTER_MCHP_RTC_G1
	default 1000
	help
	  Processing limit in us

source "Kconfig.zephyr"
