Skip to content

Commit

Permalink
fixed and harmonized BTT SKR E3 v2 v3 mini configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Frix-x committed May 9, 2023
1 parent ca4e3c9 commit e160a2c
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 8 deletions.
7 changes: 7 additions & 0 deletions config/mcu_definitions/main/BTT_SKR_E3mini_v2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@ aliases:
MCU_PROBE=PC14 ,

MCU_NEOPIXEL=PA8 ,

# EXP1 header
EXP1_1=<5V> , EXP1_2=<GND> ,
EXP1_3=PB15 , EXP1_4=PB8 ,
EXP1_5=PB9 , EXP1_6=PA10 , # Key in the socket on this side
EXP1_7=<RST> , EXP1_8=PA9 ,
EXP1_9=PA15 , EXP1_10=PB5 ,
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ aliases:
EXP1_3=PD6 , EXP1_4=PB8 ,
EXP1_5=PB9 , EXP1_6=PA10 , # Key in the socket on this side
EXP1_7=<RST> , EXP1_8=PA9 ,
EXP1_9=PA15 , EXP1_10=PB5 ,
EXP1_9=PA15 , EXP1_10=PB5 ,
36 changes: 30 additions & 6 deletions user_templates/mcu_defaults/main/BTT_SKR_E3mini_v2.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#----------------------------------------#
#### BTT SKR miniE3 V2 definition ########
#### BTT SKR Mini E3 V2 definition #######
#----------------------------------------#

[mcu]
Expand All @@ -12,10 +12,12 @@ serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path
[board_pins xye_SKR_mcu]
mcu: mcu
aliases:
X_STEP=MCU_XM_STEP , X_DIR=MCU_XM_DIR , X_ENABLE=MCU_XM_ENABLE , X_TMCUART=MCU_XM_UART ,
Y_STEP=MCU_YM_STEP , Y_DIR=MCU_YM_DIR , Y_ENABLE=MCU_YM_ENABLE , Y_TMCUART=MCU_YM_UART ,
Z_STEP=MCU_ZM_STEP , Z_DIR=MCU_ZM_DIR , Z_ENABLE=MCU_ZM_ENABLE , Z_TMCUART=MCU_XM_UART ,
E_STEP=MCU_EM_STEP , E_DIR=MCU_EM_DIR , E_ENABLE=MCU_EM_ENABLE , E_TMCUART=MCU_EM_UART ,
X_STEP=MCU_XM_STEP , X_DIR=MCU_XM_DIR , X_ENABLE=MCU_XM_ENABLE ,
Y_STEP=MCU_YM_STEP , Y_DIR=MCU_YM_DIR , Y_ENABLE=MCU_YM_ENABLE ,
Z_STEP=MCU_ZM_STEP , Z_DIR=MCU_ZM_DIR , Z_ENABLE=MCU_ZM_ENABLE ,
E_STEP=MCU_EM_STEP , E_DIR=MCU_EM_DIR , E_ENABLE=MCU_EM_ENABLE ,

TMCUART=MCU_TMCUART , TMCTX=MCU_TMCTX ,

X_STOP=MCU_XSTOP , Y_STOP=MCU_YSTOP , Z_STOP=MCU_ZSTOP ,
RUNOUT_SENSOR=MCU_E0STOP ,
Expand All @@ -27,5 +29,27 @@ aliases:
PART_FAN=MCU_FAN0 , E_FAN=MCU_FAN1 ,

STATUS_NEOPIXEL=MCU_NEOPIXEL ,
LIGHT_NEOPIXEL=MCU_NEOPIXEL ,
# LIGHT_NEOPIXEL=MCU_NEOPIXEL ,


[tmc2209 stepper_x]
uart_pin: TMCUART
tx_pin: TMCTX
uart_address: 0

[tmc2209 stepper_y]
uart_pin: TMCUART
tx_pin: TMCTX
uart_address: 2

[tmc2209 stepper_z]
uart_pin: TMCUART
tx_pin: TMCTX
uart_address: 1

# comment this section if you are using a toolhead with own mcu
[tmc2209 extruder]
uart_pin: TMCUART
tx_pin: TMCTX
uart_address: 3

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path
##--------------------------------------------------------------------

[include config/mcu_definitions/main/BTT_SKR_Mini_E3_v3.cfg] # Do not remove this line
[include config/mcu_definitions/main/BTT_SKR_E3mini_v3.cfg] # Do not remove this line
[board_pins SKR_mini_e3_mcu]
mcu: mcu
aliases:
Expand All @@ -29,6 +29,8 @@ aliases:
PART_FAN=MCU_FAN0 , E_FAN=MCU_FAN1 , CONTROLLER_FAN=MCU_FAN2 ,

STATUS_NEOPIXEL=MCU_NEOPIXEL ,
# LIGHT_NEOPIXEL=MCU_NEOPIXEL ,


[tmc2209 stepper_x]
uart_pin: TMCUART
Expand All @@ -50,3 +52,4 @@ uart_address: 1
uart_pin: TMCUART
tx_pin: TMCTX
uart_address: 3

0 comments on commit e160a2c

Please sign in to comment.