Skip to content

Commit 7f95e44

Browse files
authored
Merge pull request #2 from viniciusmiguel/feature/esp32s3config
samples: Add overlay for ESP32S3
2 parents 6f9d0f8 + 41e9445 commit 7f95e44

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
* Copyright (c) 2024 Vinicius Miguel
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
8+
&twai {
9+
bus-speed = <1000000>;
10+
status = "okay";
11+
12+
#address-cells = <1>;
13+
#size-cells = <0>;
14+
mf4005_motor0: mf4005_motor@141 {
15+
compatible = "lkm,mf4005";
16+
reg = <0x141>;
17+
max-current-ma = <240>;
18+
encoder-resolution-bits = <16>;
19+
max-speed-dps = <12000>;
20+
status = "okay";
21+
};
22+
23+
mf4005_motor1: mf4005_motor@142 {
24+
compatible = "lkm,mf4005";
25+
reg = <0x142>;
26+
max-current-ma = <240>;
27+
encoder-resolution-bits = <16>;
28+
max-speed-dps = <12000>;
29+
status = "okay";
30+
};
31+
};

0 commit comments

Comments
 (0)