Skip to content

Commit

Permalink
SKR Pico configuration (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
Surion79 authored May 7, 2023
1 parent 41dee4b commit c965fd7
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 deletions.
24 changes: 24 additions & 0 deletions config/mcu_definitions/main/BTT_SKR_Pico_v1.0.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[board_pins mcu_manufacturer]
aliases:
MCU_X_STEP=gpio11 , MCU_X_DIR=gpio10 , MCU_X_EN=gpio12 ,
MCU_Y_STEP=gpio6 , MCU_Y_DIR=gpio5 , MCU_Y_EN=gpio7 ,
MCU_Z_STEP=gpio19 , MCU_Z_DIR=gpio28 , MCU_Z_EN=gpio2 ,
MCU_E0_STEP=gpio14 , MCU_E0_DIR=gpio13 , MCU_E0_EN=gpio15 ,
MCU_TMCUART=gpio9 , MCU_TMCTX=gpio8 ,

MCU_X-STOP=gpio4 , MCU_Y-STOP=gpio3 , MCU_Z-STOP=gpio25 ,
MCU_E0-STOP=gpio16 ,

MCU_HE=gpio23 ,
MCU_HB=gpio21 ,

MCU_TH0=gpio27 ,
MCU_THB=gpio26 ,

MCU_FAN1=gpio17 , MCU_FAN2=gpio18 , MCU_FAN3=gpio20 ,

MCU_SERVOS=gpio29 ,

MCU_PROBE=gpio22 ,

MCU_RGB=gpio24 ,
53 changes: 53 additions & 0 deletions user_templates/mcu_defaults/main/BTT_SKR_Pico_v1.0.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@

#----------------------------------------#
#### BTT SKR Pico v1.0 definition ########
#----------------------------------------#

[mcu]
##--------------------------------------------------------------------
serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path
##--------------------------------------------------------------------

[include config/mcu_definitions/main/BTT_SKR_Pico_v1.0.cfg] # Do not remove this line
[board_pins xye_SKR_mcu]
mcu: mcu
aliases:
X_STEP=MCU_X_STEP , X_DIR=MCU_X_DIR , X_ENABLE=MCU_X_EN ,
Y_STEP=MCU_Y_STEP , Y_DIR=MCU_Y_DIR , Y_ENABLE=MCU_Y_EN ,
Z_STEP=MCU_Z_STEP , Z_DIR=MCU_Z_DIR , Z_ENABLE=MCU_Z_EN ,
E_STEP=MCU_E_STEP , E_DIR=MCU_E_DIR , E_ENABLE=MCU_E_EN ,

TMCUART=MCU_TMCUART , TMCTX=MCU_TMCTX ,

X_STOP=MCU_X-STOP , Y_STOP=MCU_Y-STOP , Z_STOP=MCU_Z-STOP ,
RUNOUT_SENSOR=MCU_E0-STOP ,
PROBE_INPUT=MCU_PROBE ,

E_HEATER=MCU_HE , E_TEMPERATURE=MCU_TH0 ,
BED_HEATER=MCU_HB , BED_TEMPERATURE=MCU_THB ,

PART_FAN=MCU_FAN1 , E_FAN=MCU_FAN2 ,
CONTROLLER_FAN=MCU_FAN3 ,

STATUS_NEOPIXEL=MCU_RGB ,

[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

0 comments on commit c965fd7

Please sign in to comment.