tests: Update counter test for LPC RTC counter
Update the counter test for LPC RTC counter Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
parent
db162bb05d
commit
6ca1ffa6fe
1 changed files with 5 additions and 1 deletions
|
@ -17,7 +17,8 @@ static void top_handler(const struct device *dev, void *user_data);
|
|||
|
||||
void *exp_user_data = (void *)199;
|
||||
|
||||
#if defined(CONFIG_COUNTER_MCUX_RTC) || defined(CONFIG_COUNTER_RTC_STM32)
|
||||
#if defined(CONFIG_COUNTER_MCUX_RTC) || defined(CONFIG_COUNTER_RTC_STM32) || \
|
||||
defined(CONFIG_COUNTER_MCUX_LPC_RTC)
|
||||
#define COUNTER_PERIOD_US_VAL (USEC_PER_SEC * 2U)
|
||||
#else
|
||||
#define COUNTER_PERIOD_US_VAL 20000
|
||||
|
@ -71,6 +72,9 @@ static const char * const devices[] = {
|
|||
LABELS_FOR_DT_COMPAT(nxp_imx_gpt)
|
||||
#ifdef CONFIG_COUNTER_MCUX_RTC
|
||||
LABELS_FOR_DT_COMPAT(nxp_kinetis_rtc)
|
||||
#endif
|
||||
#ifdef CONFIG_COUNTER_MCUX_LPC_RTC
|
||||
LABELS_FOR_DT_COMPAT(nxp_lpc_rtc)
|
||||
#endif
|
||||
LABELS_FOR_DT_COMPAT(silabs_gecko_rtcc)
|
||||
LABELS_FOR_DT_COMPAT(st_stm32_rtc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue