Skip to content

Commit f2ad63d

Browse files
committed
Set default TMC slave addresses for SKR Mini E3 V1/2 boards
1 parent fae3c86 commit f2ad63d

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_E3_V1_0.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,17 @@
3434
#define Y_HARDWARE_SERIAL MSerial4
3535
#define Z_HARDWARE_SERIAL MSerial4
3636
#define E0_HARDWARE_SERIAL MSerial4
37+
38+
// Override default config TMC slave addresses
39+
#undef X_SLAVE_ADDRESS
40+
#define X_SLAVE_ADDRESS 0
41+
42+
#undef Y_SLAVE_ADDRESS
43+
#define Y_SLAVE_ADDRESS 2
44+
45+
#undef Z_SLAVE_ADDRESS
46+
#define Z_SLAVE_ADDRESS 1
47+
48+
#undef E0_SLAVE_ADDRESS
49+
#define E0_SLAVE_ADDRESS 3
3750
#endif

Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_E3_V2_0.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,17 @@
5858
#define Y_HARDWARE_SERIAL MSerial4
5959
#define Z_HARDWARE_SERIAL MSerial4
6060
#define E0_HARDWARE_SERIAL MSerial4
61+
62+
// Override default config TMC slave addresses
63+
#undef X_SLAVE_ADDRESS
64+
#define X_SLAVE_ADDRESS 0
65+
66+
#undef Y_SLAVE_ADDRESS
67+
#define Y_SLAVE_ADDRESS 2
68+
69+
#undef Z_SLAVE_ADDRESS
70+
#define Z_SLAVE_ADDRESS 1
71+
72+
#undef E0_SLAVE_ADDRESS
73+
#define E0_SLAVE_ADDRESS 3
6174
#endif

0 commit comments

Comments
 (0)