tests: counter: Add LPC RTC 1KHZ counter
Add counter test support for the RTC 1KHz counter Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
parent
008b5027a6
commit
37158ebf15
|
@ -0,0 +1,7 @@
|
|||
&rtc {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&rtc_highres {
|
||||
status = "okay";
|
||||
};
|
|
@ -69,9 +69,12 @@ static const struct device *const devices[] = {
|
|||
#ifdef CONFIG_COUNTER_NXP_MRT
|
||||
DEVS_FOR_DT_COMPAT(nxp_mrt_channel)
|
||||
#endif
|
||||
#ifdef CONFIG_COUNTER_MCUX_LPC_RTC
|
||||
#ifdef CONFIG_COUNTER_MCUX_LPC_RTC_1HZ
|
||||
DEVS_FOR_DT_COMPAT(nxp_lpc_rtc)
|
||||
#endif
|
||||
#ifdef CONFIG_COUNTER_MCUX_LPC_RTC_HIGHRES
|
||||
DEVS_FOR_DT_COMPAT(nxp_lpc_rtc_highres)
|
||||
#endif
|
||||
#ifdef CONFIG_COUNTER_GECKO_RTCC
|
||||
DEVS_FOR_DT_COMPAT(silabs_gecko_rtcc)
|
||||
#endif
|
||||
|
|
|
@ -27,3 +27,12 @@ tests:
|
|||
timeout: 600
|
||||
extra_configs:
|
||||
- CONFIG_COUNTER_RTC_STM32_SUBSECONDS=y
|
||||
drivers.counter.basic_api.rtc_1khz:
|
||||
tags:
|
||||
- drivers
|
||||
- counter
|
||||
depends_on: counter
|
||||
platform_allow: mimxrt685_evk_cm33
|
||||
timeout: 400
|
||||
extra_args:
|
||||
DTC_OVERLAY_FILE="boards/mimxrt685_evk_cm33_rtc_1khz.overlay"
|
||||
|
|
Loading…
Reference in a new issue