Skip to content

Commit b5a1bff

Browse files
FelixWang47831jhedberg
authored andcommitted
tests: drivers: counter: counter_basic_api: stm support
Add STM device tree macro in devices array to enable test. Signed-off-by: Felix Wang <[email protected]>
1 parent 659eccf commit b5a1bff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/drivers/counter/counter_basic_api/src/test_counter.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ static const struct device *const devices[] = {
132132
#ifdef CONFIG_COUNTER_MCUX_FTM
133133
DEVS_FOR_DT_COMPAT(nxp_ftm)
134134
#endif
135+
#ifdef CONFIG_COUNTER_MCUX_STM
136+
DEVS_FOR_DT_COMPAT(nxp_stm)
137+
#endif
135138
#ifdef CONFIG_COUNTER_RENESAS_RZ_GTM
136139
DEVS_FOR_DT_COMPAT(renesas_rz_gtm_counter)
137140
#endif

0 commit comments

Comments
 (0)