From f21f66a31f985813aa5e1bd9e6aac296f996e291 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 31 Jul 2019 13:04:13 -0400 Subject: [PATCH] config: Add example SKR mini-E3 config Signed-off-by: Ashley Izat Signed-off-by: Kevin O'Connor --- config/generic-bigtreetech-skr-mini-e3.cfg | 126 +++++++++++++++++++++ test/klippy/printers.test | 1 + 2 files changed, 127 insertions(+) create mode 100644 config/generic-bigtreetech-skr-mini-e3.cfg diff --git a/config/generic-bigtreetech-skr-mini-e3.cfg b/config/generic-bigtreetech-skr-mini-e3.cfg new file mode 100644 index 00000000..f429e380 --- /dev/null +++ b/config/generic-bigtreetech-skr-mini-e3.cfg @@ -0,0 +1,126 @@ +# This file contains common pin mappings for the BIGTREETECH SKR mini +# E3. 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". + +# The "make flash" command does not work on the SKR mini E3. Instead, +# after running "make", copy the generated "out/klipper.bin" file to a +# file named "firmware.bin" on an SD card and then restart the SKR +# mini E3 with that SD card. + +# See the example.cfg file for a description of available parameters. + +[stepper_x] +step_pin: PB13 +dir_pin: PB12 +enable_pin: !PB14 +step_distance: .0025 +endstop_pin: ^!PC0 +position_endstop: 0 +position_max: 200 +homing_speed: 50 + +[tmc2209 stepper_x] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 0 +microsteps: 16 +run_current: 0.800 +hold_current: 0.500 +stealthchop_threshold: 250 + +[stepper_y] +step_pin: PB10 +dir_pin: PB2 +enable_pin: !PB11 +step_distance: .0025 +endstop_pin: ^!PC1 +position_endstop: 0 +position_max: 200 +homing_speed: 50 + +[tmc2209 stepper_y] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 1 +microsteps: 16 +run_current: 0.800 +hold_current: 0.500 +stealthchop_threshold: 250 + +[stepper_z] +step_pin: PB0 +dir_pin: PC5 +enable_pin: !PB1 +step_distance: .0125 +endstop_pin: ^!PC2 +position_endstop: 0.5 +position_max: 200 + +[tmc2209 stepper_z] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 2 +microsteps: 16 +run_current: 0.800 +hold_current: 0.500 +stealthchop_threshold: 5 + +[extruder] +step_pin: PB3 +dir_pin: PB4 +enable_pin: !PD2 +step_distance: .002 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: PC8 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PA0 +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 +min_temp: 0 +max_temp: 250 + +[tmc2209 extruder] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 3 +microsteps: 16 +run_current: 0.800 +hold_current: 0.500 +stealthchop_threshold: 5 + +[heater_bed] +heater_pin: PC9 +sensor_type: ATC Semitec 104GT-2 +sensor_pin: PC3 +control: watermark +min_temp: 0 +max_temp: 130 + +[fan] +pin: PA8 + +[mcu] +serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00 + +[printer] +kinematics: cartesian +max_velocity: 300 +max_accel: 3000 +max_z_velocity: 5 +max_z_accel: 100 + +[static_digital_output usb_pullup_enable] +pins: !PC13 + +[board_pins] +aliases: + # EXP1 header + EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=, + EXP1_2=PB6, EXP1_4=, EXP1_6=PB9, EXP1_8=PB7, EXP1_10=<5V> + +# See the sample-lcd.cfg file for definitions of common LCD displays. diff --git a/test/klippy/printers.test b/test/klippy/printers.test index 1dfa256a..3328d999 100644 --- a/test/klippy/printers.test +++ b/test/klippy/printers.test @@ -85,6 +85,7 @@ CONFIG ../../config/generic-smoothieboard.cfg # Printers using the stm32f103 DICTIONARY stm32f1.dict CONFIG ../../config/generic-bigtreetech-skr-mini.cfg +CONFIG ../../config/generic-bigtreetech-skr-mini-e3.cfg # Printers using the PRU DICTIONARY pru.dict host=linuxprocess.dict