-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For esp32s3 DevKitC, via dts overlay. Signed-off-by: Vinicius Miguel <vmiguel1@gmail.com>
- Loading branch information
1 parent
6f9d0f8
commit 41e9445
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
samples/mf4005_shell/boards/esp32s3_devkitc_procpu.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright (c) 2024 Vinicius Miguel | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
|
||
&twai { | ||
bus-speed = <1000000>; | ||
status = "okay"; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
mf4005_motor0: mf4005_motor@141 { | ||
compatible = "lkm,mf4005"; | ||
reg = <0x141>; | ||
max-current-ma = <240>; | ||
encoder-resolution-bits = <16>; | ||
max-speed-dps = <12000>; | ||
status = "okay"; | ||
}; | ||
|
||
mf4005_motor1: mf4005_motor@142 { | ||
compatible = "lkm,mf4005"; | ||
reg = <0x142>; | ||
max-current-ma = <240>; | ||
encoder-resolution-bits = <16>; | ||
max-speed-dps = <12000>; | ||
status = "okay"; | ||
}; | ||
}; |