aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/generic-fysetc-cheetah-v1.1.cfg125
-rw-r--r--config/generic-fysetc-cheetah-v1.2.cfg121
-rw-r--r--test/configs/stm32f1-serial.config4
-rw-r--r--test/klippy/printers.test5
4 files changed, 255 insertions, 0 deletions
diff --git a/config/generic-fysetc-cheetah-v1.1.cfg b/config/generic-fysetc-cheetah-v1.1.cfg
new file mode 100644
index 00000000..32342c66
--- /dev/null
+++ b/config/generic-fysetc-cheetah-v1.1.cfg
@@ -0,0 +1,125 @@
+# This file contains common pin mappings for the Fysetc Cheetah v1.1
+# board. To use this config, the firmware should be compiled for the
+# STM32F103 with "No bootloader" and with "Use USB for communication"
+# disabled.
+
+# The "make flash" command does not work on the Cheetah. Instead,
+# after running "make", run the following command to flash the board:
+# stm32flash -w out/klipper.bin -v -i rts,-dtr,dtr /dev/ttyUSB0
+
+# See the example.cfg file for a description of available parameters.
+
+[stepper_x]
+step_pin: PB8
+dir_pin: !PB9
+enable_pin: !PA8
+step_distance: .0125
+endstop_pin: ^PA1
+position_endstop: 0
+position_max: 200
+homing_speed: 50
+
+[tmc2209 stepper_x]
+uart_pin: PA3
+tx_pin: PA2
+uart_address: 0
+microsteps: 16
+run_current: 0.800
+hold_current: 0.500
+stealthchop_threshold: 250
+
+[stepper_y]
+step_pin: PB2
+dir_pin: !PB3
+enable_pin: !PB1
+step_distance: .0125
+endstop_pin: ^PB4
+position_endstop: 0
+position_max: 200
+homing_speed: 50
+
+[tmc2209 stepper_y]
+uart_pin: PA3
+tx_pin: PA2
+uart_address: 1
+microsteps: 16
+run_current: 0.800
+hold_current: 0.500
+stealthchop_threshold: 250
+
+[stepper_z]
+step_pin: PC0
+dir_pin: PC1
+enable_pin: !PC2
+step_distance: .0025
+endstop_pin: ^PA15
+position_endstop: 0
+position_max: 200
+
+[tmc2209 stepper_z]
+uart_pin: PA3
+tx_pin: PA2
+uart_address: 2
+microsteps: 16
+run_current: 0.800
+hold_current: 0.500
+stealthchop_threshold: 5
+
+[extruder]
+step_pin: PC15
+dir_pin: !PC14
+enable_pin: !PC13
+step_distance: 0.010526
+nozzle_diameter: 0.400
+filament_diameter: 1.750
+heater_pin: PC6
+sensor_type: EPCOS 100K B57560G104F
+sensor_pin: PC4
+control: pid
+pid_kp: 21.527
+pid_ki: 1.063
+pid_kd: 108.982
+min_temp: 0
+max_temp: 250
+
+[tmc2209 extruder]
+uart_pin: PA3
+tx_pin: PA2
+uart_address: 3
+microsteps: 16
+run_current: 1.0
+hold_current: 0.500
+stealthchop_threshold: 5
+
+[heater_bed]
+heater_pin: PC7
+sensor_type: EPCOS 100K B57560G104F
+sensor_pin: PC5
+control: pid
+pid_kp: 54.027
+pid_ki: 0.770
+pid_kd: 948.182
+min_temp: 0
+max_temp: 130
+
+[fan]
+pin: PC8
+
+[mcu]
+serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
+
+[printer]
+kinematics: cartesian
+max_velocity: 300
+max_accel: 3000
+max_z_velocity: 5
+max_z_accel: 100
+
+[board_pins]
+aliases:
+ # EXP1 header
+ EXP1_1=PC9, EXP1_3=PC11, EXP1_5=PC10, EXP1_7=PB12, EXP1_9=<GND>,
+ EXP1_2=PC12, EXP1_4=PB14, EXP1_6=PB13, EXP1_8=PB15, EXP1_10=<5V>
+ # Pins EXP1_4, EXP1_8, EXP1_6 are also MISO, MOSI, SCK of bus "spi2"
+
+# See the sample-lcd.cfg file for definitions of common LCD displays.
diff --git a/config/generic-fysetc-cheetah-v1.2.cfg b/config/generic-fysetc-cheetah-v1.2.cfg
new file mode 100644
index 00000000..7f6c38c2
--- /dev/null
+++ b/config/generic-fysetc-cheetah-v1.2.cfg
@@ -0,0 +1,121 @@
+# This file contains common pin mappings for the Fysetc Cheetah v1.2b
+# board. To use this config, the firmware should be compiled for the
+# STM32F103 with "No bootloader" and with "Use USB for communication"
+# disabled.
+
+# The "make flash" command does not work on the Cheetah. Instead,
+# after running "make", run the following command to flash the board:
+# stm32flash -w out/klipper.bin -v -i rts,-dtr,dtr /dev/ttyUSB0
+
+# See the example.cfg file for a description of available parameters.
+
+[stepper_x]
+step_pin: PB8
+dir_pin: !PB9
+enable_pin: !PA8
+step_distance: .0125
+endstop_pin: ^PA1
+position_endstop: 0
+position_max: 200
+homing_speed: 50
+
+[tmc2208 stepper_x]
+uart_pin: PA12
+tx_pin: PA11
+microsteps: 16
+run_current: 0.800
+hold_current: 0.500
+stealthchop_threshold: 250
+
+[stepper_y]
+step_pin: PB2
+dir_pin: !PB3
+enable_pin: !PB1
+step_distance: .0125
+endstop_pin: ^PB4
+position_endstop: 0
+position_max: 200
+homing_speed: 50
+
+[tmc2208 stepper_y]
+uart_pin: PB7
+tx_pin: PB6
+microsteps: 16
+run_current: 0.800
+hold_current: 0.500
+stealthchop_threshold: 250
+
+[stepper_z]
+step_pin: PC0
+dir_pin: PC1
+enable_pin: !PC2
+step_distance: .0025
+endstop_pin: ^PA15
+position_endstop: 0
+position_max: 200
+
+[tmc2208 stepper_z]
+uart_pin: PB10
+tx_pin: PB11
+microsteps: 16
+run_current: 0.800
+hold_current: 0.500
+stealthchop_threshold: 5
+
+[extruder]
+step_pin: PC15
+dir_pin: !PC14
+enable_pin: !PC13
+step_distance: 0.010526
+nozzle_diameter: 0.400
+filament_diameter: 1.750
+heater_pin: PC6
+sensor_type: EPCOS 100K B57560G104F
+sensor_pin: PC4
+control: pid
+pid_kp: 21.527
+pid_ki: 1.063
+pid_kd: 108.982
+min_temp: 0
+max_temp: 250
+
+[tmc2208 extruder]
+uart_pin: PA3
+tx_pin: PA2
+microsteps: 16
+run_current: 1.0
+hold_current: 0.500
+stealthchop_threshold: 5
+
+[heater_bed]
+heater_pin: PC7
+sensor_type: EPCOS 100K B57560G104F
+sensor_pin: PC5
+control: pid
+pid_kp: 54.027
+pid_ki: 0.770
+pid_kd: 948.182
+min_temp: 0
+max_temp: 130
+
+[fan]
+pin: PC8
+
+[mcu]
+serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
+
+[printer]
+kinematics: cartesian
+max_velocity: 300
+max_accel: 3000
+max_z_velocity: 5
+max_z_accel: 100
+
+[board_pins]
+aliases:
+ # EXP1 header
+ EXP1_1=PC9, EXP1_3=PC11, EXP1_5=PC10, EXP1_7=PB12, EXP1_9=<GND>,
+ EXP1_2=PC12, EXP1_4=PB14, EXP1_6=PB13, EXP1_8=PB15, EXP1_10=<5V>
+ # Pins EXP1_4, EXP1_8, EXP1_6 are also MISO, MOSI, SCK of bus "spi2"
+
+# See the sample-lcd.cfg file for definitions of common LCD displays.
diff --git a/test/configs/stm32f1-serial.config b/test/configs/stm32f1-serial.config
new file mode 100644
index 00000000..a1ae2580
--- /dev/null
+++ b/test/configs/stm32f1-serial.config
@@ -0,0 +1,4 @@
+# Base config file for STM32F1 ARM processor using serial communication
+CONFIG_MACH_STM32=y
+CONFIG_MACH_STM32F103=y
+CONFIG_USBSERIAL=n
diff --git a/test/klippy/printers.test b/test/klippy/printers.test
index 3328d999..1ba96b3f 100644
--- a/test/klippy/printers.test
+++ b/test/klippy/printers.test
@@ -87,6 +87,11 @@ DICTIONARY stm32f1.dict
CONFIG ../../config/generic-bigtreetech-skr-mini.cfg
CONFIG ../../config/generic-bigtreetech-skr-mini-e3.cfg
+# Printers using the stm32f103 via serial
+DICTIONARY stm32f1-serial.dict
+CONFIG ../../config/generic-fysetc-cheetah-v1.1.cfg
+CONFIG ../../config/generic-fysetc-cheetah-v1.2.cfg
+
# Printers using the PRU
DICTIONARY pru.dict host=linuxprocess.dict
CONFIG ../../config/generic-cramps.cfg