Skip to content

Commit 739ffd8

Browse files
FRASTMcarlescufi
authored andcommitted
tests: drivers: counter running on stm32 timer-counter instances
Defines the overlay to Use the stm32 counter-timer in addition to the rtc (if enabled) to pass the tests/drivers/counter/counter_basic_api/ Enable all the possible timer nodes on each board. Signed-off-by: Francois Ramu <[email protected]>
1 parent 8547645 commit 739ffd8

18 files changed

+720
-8
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
&timers4 {
2+
st,prescaler = <79>;
3+
counter {
4+
status = "okay";
5+
};
6+
};
7+
8+
&timers5 {
9+
st,prescaler = <79>;
10+
counter {
11+
status = "okay";
12+
};
13+
};
14+
15+
&timers15 {
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+
};
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
&timers2 {
2+
st,prescaler = <79>;
3+
counter {
4+
status = "okay";
5+
};
6+
};
7+
8+
&timers6 {
9+
st,prescaler = <79>;
10+
counter {
11+
status = "okay";
12+
};
13+
};
14+
15+
&timers15 {
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+
};
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
&timers2 {
2+
st,prescaler = <79>;
3+
counter {
4+
status = "okay";
5+
};
6+
};
7+
8+
&timers3 {
9+
st,prescaler = <79>;
10+
counter {
11+
status = "okay";
12+
};
13+
};
14+
15+
&timers14 {
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+
};
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
&timers2 {
2+
st,prescaler = <79>;
3+
counter {
4+
status = "okay";
5+
};
6+
};
7+
8+
&timers3 {
9+
st,prescaler = <79>;
10+
counter {
11+
status = "okay";
12+
};
13+
};
14+
15+
&timers4 {
16+
st,prescaler = <79>;
17+
counter {
18+
status = "okay";
19+
};
20+
};
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
&timers2 {
2+
st,prescaler = <79>;
3+
counter {
4+
status = "okay";
5+
};
6+
};
7+
8+
&timers3 {
9+
st,prescaler = <79>;
10+
counter {
11+
status = "okay";
12+
};
13+
};
14+
15+
&timers4 {
16+
st,prescaler = <79>;
17+
counter {
18+
status = "okay";
19+
};
20+
};
21+
22+
&timers5 {
23+
st,prescaler = <79>;
24+
counter {
25+
status = "okay";
26+
};
27+
};
28+
29+
&timers6 {
30+
st,prescaler = <79>;
31+
counter {
32+
status = "okay";
33+
};
34+
};
35+
36+
&timers7 {
37+
st,prescaler = <79>;
38+
counter {
39+
status = "okay";
40+
};
41+
};
42+
43+
&timers9 {
44+
st,prescaler = <79>;
45+
counter {
46+
status = "okay";
47+
};
48+
};
49+
50+
&timers10 {
51+
st,prescaler = <79>;
52+
counter {
53+
status = "okay";
54+
};
55+
};
56+
57+
&timers11 {
58+
st,prescaler = <79>;
59+
counter {
60+
status = "okay";
61+
};
62+
};
63+
64+
65+
&timers12 {
66+
st,prescaler = <79>;
67+
counter {
68+
status = "okay";
69+
};
70+
};
71+
72+
&timers13 {
73+
st,prescaler = <79>;
74+
counter {
75+
status = "okay";
76+
};
77+
};
78+
79+
&timers14 {
80+
st,prescaler = <79>;
81+
counter {
82+
status = "okay";
83+
};
84+
};
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
&timers2 {
2+
st,prescaler = <79>;
3+
counter {
4+
status = "okay";
5+
};
6+
};
7+
8+
&timers3 {
9+
st,prescaler = <79>;
10+
counter {
11+
status = "okay";
12+
};
13+
};
14+
15+
&timers4 {
16+
st,prescaler = <79>;
17+
counter {
18+
status = "okay";
19+
};
20+
};
21+
22+
&timers5 {
23+
st,prescaler = <79>;
24+
counter {
25+
status = "okay";
26+
};
27+
};
28+
&timers9 {
29+
st,prescaler = <79>;
30+
counter {
31+
status = "okay";
32+
};
33+
};
34+
35+
&timers10 {
36+
st,prescaler = <79>;
37+
counter {
38+
status = "okay";
39+
};
40+
};
41+
42+
&timers11 {
43+
st,prescaler = <79>;
44+
counter {
45+
status = "okay";
46+
};
47+
};
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
&timers2 {
2+
st,prescaler = <79>;
3+
counter {
4+
status = "okay";
5+
};
6+
};
7+
8+
&timers3 {
9+
st,prescaler = <79>;
10+
counter {
11+
status = "okay";
12+
};
13+
};
14+
15+
&timers4 {
16+
st,prescaler = <79>;
17+
counter {
18+
status = "okay";
19+
};
20+
};
21+
22+
&timers5 {
23+
st,prescaler = <79>;
24+
counter {
25+
status = "okay";
26+
};
27+
};
28+
29+
&timers6 {
30+
st,prescaler = <79>;
31+
counter {
32+
status = "okay";
33+
};
34+
};
35+
36+
&timers7 {
37+
st,prescaler = <79>;
38+
counter {
39+
status = "okay";
40+
};
41+
};
42+
43+
&timers9 {
44+
st,prescaler = <79>;
45+
counter {
46+
status = "okay";
47+
};
48+
};
49+
50+
&timers10 {
51+
st,prescaler = <79>;
52+
counter {
53+
status = "okay";
54+
};
55+
};
56+
57+
&timers11 {
58+
st,prescaler = <79>;
59+
counter {
60+
status = "okay";
61+
};
62+
};
63+
64+
&timers12 {
65+
st,prescaler = <79>;
66+
counter {
67+
status = "okay";
68+
};
69+
};
70+
71+
&timers13 {
72+
st,prescaler = <79>;
73+
counter {
74+
status = "okay";
75+
};
76+
};
77+
78+
&timers14 {
79+
st,prescaler = <79>;
80+
counter {
81+
status = "okay";
82+
};
83+
};
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
&timers3 {
2+
st,prescaler = <79>;
3+
counter {
4+
status = "okay";
5+
};
6+
};
7+
8+
&timers6 {
9+
st,prescaler = <79>;
10+
counter {
11+
status = "okay";
12+
};
13+
};
14+
15+
&timers7 {
16+
st,prescaler = <79>;
17+
counter {
18+
status = "okay";
19+
};
20+
};
21+
22+
&timers14 {
23+
st,prescaler = <79>;
24+
counter {
25+
status = "okay";
26+
};
27+
};
28+
29+
&timers15 {
30+
st,prescaler = <79>;
31+
counter {
32+
status = "okay";
33+
};
34+
};
35+
36+
&timers16 {
37+
st,prescaler = <79>;
38+
counter {
39+
status = "okay";
40+
};
41+
};
42+
43+
&timers17 {
44+
st,prescaler = <79>;
45+
counter {
46+
status = "okay";
47+
};
48+
};

0 commit comments

Comments
 (0)