Skip to content

Commit ac10b0b

Browse files
FelixWang47831jhedberg
authored andcommitted
test: drivers: counter_basic_api: Enable TPM test
This patch enable TPM on frdm_mxw71 and mimxrt1180_evk/cm33 This patch covers following test cases: - test_all_channels - test_multiple_alarms - test_set_top_value_with_alarm - test_single_shot_alarm_notop - test_single_shot_alarm_top - test_valid_function_without_alarm - test_set_top_value_without_alarm Signed-off-by: Felix Wang <[email protected]>
1 parent 1f2ec45 commit ac10b0b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/drivers/counter/counter_basic_api/boards/frdm_mcxw71.overlay

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@
2323
&lpit1_channel3 {
2424
status = "okay";
2525
};
26+
27+
&tpm1 {
28+
compatible = "nxp,tpm-timer";
29+
status = "okay";
30+
};

tests/drivers/counter/counter_basic_api/boards/mimxrt1180_evk_mimxrt1189_cm33.overlay

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,8 @@
7474
status = "okay";
7575
prescale-glitch-filter = <10>;
7676
};
77+
78+
&tpm1 {
79+
compatible = "nxp,tpm-timer";
80+
status = "okay";
81+
};

0 commit comments

Comments
 (0)