Skip to content

Commit 9ac0cd5

Browse files
djiatsaf-stkartben
authored andcommitted
tests: drivers: counter: counter_basic_api: update counter test
add the nucleo_C071rb overlay file and enable different types of timers that support counters. Signed-off-by: Fabrice DJIATSA <[email protected]>
1 parent a1bd7cf commit 9ac0cd5

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
&timers1 {
2+
st,prescaler = <79>;
3+
counter {
4+
status = "okay";
5+
};
6+
};
7+
8+
&timers2 {
9+
st,prescaler = <79>;
10+
counter {
11+
status = "okay";
12+
};
13+
};
14+
15+
&timers3 {
16+
st,prescaler = <79>;
17+
counter {
18+
status = "okay";
19+
};
20+
};
21+
22+
&timers16 {
23+
st,prescaler = <79>;
24+
counter {
25+
status = "okay";
26+
};
27+
};
28+
29+
&timers17 {
30+
st,prescaler = <79>;
31+
counter {
32+
status = "okay";
33+
};
34+
};

0 commit comments

Comments
 (0)