Skip to content

Commit cdefe4d

Browse files
committed
tests: drivers: counter: basic_api: add overlay for nucleo_l476rg
Add overlay for nucleo_l476rg to enable counter_basic_api tests on this board. The prescalers of the timers will result in a counter frequency of 1 MHz. Signed-off-by: Jan Kablitz <[email protected]>
1 parent ffbd680 commit cdefe4d

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
&timers15 {
44+
st,prescaler = <79>;
45+
counter {
46+
status = "okay";
47+
};
48+
};
49+
50+
&timers16 {
51+
st,prescaler = <79>;
52+
counter {
53+
status = "okay";
54+
};
55+
};
56+
57+
&timers17 {
58+
st,prescaler = <79>;
59+
counter {
60+
status = "okay";
61+
};
62+
};
63+
64+
&rtc {
65+
status = "disabled";
66+
};

0 commit comments

Comments
 (0)