Skip to content

Commit

Permalink
Fix missing pins for SB2240
Browse files Browse the repository at this point in the history
  • Loading branch information
Surion79 committed May 8, 2023
1 parent f46dea7 commit 25e0dba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/mcu_definitions/toolhead/BTT_SB2240_v1.0.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[board_pins toolhead_manufacturer]
mcu: toolhead
aliases:
MCU_MOTORDRIVE_STEP=PD0 , MCU_MOTORDRIVE_DIR=PD1 , MCU_MOTORDRIVE_ENABLE=PD2 ,
MCU_MOTOR_SPI_NSS=PA15 , # CLK/MOSI/MISO are shared with SPI2 configuration

MCU_STOP1=PB6 , MCU_STOP2=PB5 , MCU_STOP3=PB7 ,
Expand Down
1 change: 1 addition & 0 deletions user_templates/mcu_defaults/toolhead/BTT_SB2240_v1.0.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ canbus_uuid: change-me-to-the-correct-canbus-id
[board_pins sb2209_mcu]
mcu: toolhead
aliases:
E_STEP=MCU_MOTORDRIVE_STEP , E_DIR=MCU_MOTORDRIVE_DIR , E_ENABLE=MCU_MOTORDRIVE_ENABLE ,
# TMC2240 has no uart mode and since the SPI pins are shared with the SPI2, dedicated pin aliases are not allowed by klipper currently

X_STOP=MCU_STOP1 , Y_STOP=MCU_STOP2 ,
Expand Down

0 comments on commit 25e0dba

Please sign in to comment.