diff --git a/VORON-0/Firmware/printer.cfg b/VORON-0/Firmware/printer.cfg index 918d4785..d4660d5f 100644 --- a/VORON-0/Firmware/printer.cfg +++ b/VORON-0/Firmware/printer.cfg @@ -1,6 +1,9 @@ # This file contains common pin mappings for the BIGTREETECH SKR -# MINI. To use this config, the firmware should be compiled for the -# STM32F103 with a "28KiB bootloader". +# MINI 1.2 and 2.0. To use this config, the firmware should be compiled for +# the STM32F103 with a "28KiB bootloader". Also select "enable extra +# low-level configuration options" and configure "GPIO pins to set +# at micro-controller startup" to "!PC13" for a SKR Mini 1.2 or +# "!PA14" SKR Mini 2.0. # The "make flash" command does not work on the SKR mini. Instead, # after running "make", copy the generated "out/klipper.bin" file to a @@ -10,11 +13,12 @@ # See the example.cfg file for a description of available parameters. [mcu] -serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_37FFD8054246383440750857-if00 +## Obtain mcu value by "ls -l /dev/serial/by-id/" +serial: /dev/serial/by-id/usb-Klipper_stm00000000_000000000000000000000000-if00 [stepper_x] step_pin: PB13 -dir_pin: PB12 +dir_pin: !PB12 # Remove the ! if stepper is moving the opposite direction enable_pin: !PB14 step_distance: .0125 endstop_pin: PC0 @@ -25,7 +29,15 @@ homing_retract_dist: 5 homing_positive_dir: true [tmc2209 stepper_x] -uart_pin: PB15 +##-------------------------------------------------------------------- +## Uncomment below for SKR Mini 1.2 +#uart_pin: PB15 + +## Uncomment below for SKR Mini 2.0 +#uart_pin: PC11 +#tx_pin: PC10 +#uart_address: 0 +##-------------------------------------------------------------------- microsteps: 16 interpolate: True run_current: .25 @@ -35,7 +47,7 @@ stealthchop_threshold: 500 [stepper_y] step_pin: PB10 -dir_pin: PB2 +dir_pin: !PB2 # Remove the ! if stepper is moving the opposite direction enable_pin: !PB11 step_distance: .0125 endstop_pin: PC1 @@ -46,7 +58,15 @@ homing_retract_dist: 5 homing_positive_dir: true [tmc2209 stepper_y] -uart_pin: PC6 +##-------------------------------------------------------------------- +## Uncomment below for SKR Mini 1.2 +#uart_pin: PC6 + +## Uncomment below for SKR Mini 2.0 +#uart_pin: PC11 +#tx_pin: PC10 +#uart_address: 2 +##-------------------------------------------------------------------- microsteps: 16 interpolate: True run_current: .25 @@ -56,7 +76,7 @@ stealthchop_threshold: 500 [stepper_z] step_pin: PB0 -dir_pin: PC5 +dir_pin: !PC5 # Remove the ! if stepper is moving the opposite direction enable_pin: !PB1 step_distance: .0025 #for T8x8 lead screw #step_distance: .000625 #for T8x2 lead screw @@ -69,7 +89,15 @@ second_homing_speed: 3.0 homing_retract_dist: 3.0 [tmc2209 stepper_z] -uart_pin: PC10 +##-------------------------------------------------------------------- +## Uncomment below for SKR Mini 1.2 +#uart_pin: PC10 + +## Uncomment below for SKR Mini 2.0 +#uart_pin: PC11 +#tx_pin: PC10 +#uart_address: 1 +##-------------------------------------------------------------------- microsteps: 16 interpolate: True run_current: .25 @@ -80,7 +108,7 @@ stealthchop_threshold: 500 [extruder] step_pin: PB3 -dir_pin: PB4 +dir_pin: !PB4 # Remove the ! if stepper is moving the opposite direction enable_pin: !PD2 step_distance: .0024 #calibrate this value for your individual printer!! nozzle_diameter: 0.400 @@ -101,7 +129,15 @@ Pressure_advance: 0.0 pressure_advance_smooth_time: 0.040 [tmc2209 extruder] -uart_pin: PC11 +##-------------------------------------------------------------------- +## Uncomment below for SKR Mini 1.2 +#uart_pin: PC11 + +## Uncomment below for SKR Mini 2.0 +#uart_pin: PC11 +#tx_pin: PC10 +#uart_address: 3 +##-------------------------------------------------------------------- microsteps: 16 interpolate: True run_current: 0.2 @@ -133,7 +169,13 @@ square_corner_velocity: 5.0 [heater_fan hotend_fan] # Hotend Fan -pin: PA8 +##-------------------------------------------------------------------- +## Uncomment below for SKR Mini 1.2 +#pin: PA8 + +## Uncomment below for SKR Mini 2.0 +#pin: PC6 +##-------------------------------------------------------------------- max_power: 1.0 kick_start_time: 0.5 heater: extruder @@ -153,7 +195,6 @@ cycle_time: 0.010 [idle_timeout] timeout: 1800 - [homing_override] axes: z set_position_z: 0