From 3f7856c9edacb4982f1bfb648a97330dadbc6651 Mon Sep 17 00:00:00 2001 From: EagleJinWt Date: Tue, 25 Feb 2025 18:15:18 +0100 Subject: [PATCH 01/12] Create generic-mellow-fly-d5.cfg I would like to contribute with this generic config file for Mellow's Fly D5 main board. Contact me if there is anything I should change. --- config/generic-mellow-fly-d5.cfg | 105 +++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 config/generic-mellow-fly-d5.cfg diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg new file mode 100644 index 000000000..a5c0af11a --- /dev/null +++ b/config/generic-mellow-fly-d5.cfg @@ -0,0 +1,105 @@ +#Mellow Fly D5 generic printer.cfg +#Check https://www.klipper3d.org/Config_Reference.html before use. +#Pruduct page on https://mellow.klipper.cn/en/docs/category/fly-d5 +#STM32F072, 8KiB bootloader, 8 Mhz crystal, USB or USB to CAN adapter(depends on if you are using a canbus toolhead board) +#See more about firmwares on https://mellow.klipper.cn/en/docs/ProductDoc/MainBoard/fly-d/fly-d5/flash/ +[mcu] +serial:/put/your/serial/here # See https://www.klipper3d.org/FAQ.html#wheres-my-serial-port for more + +[temperature_sensor Fly-D5] #Mainboard Temperature +sensor_type: temperature_mcu + +[printer] +kinematics: corexy # Replace with your machine's kinematic!(e.g. cartesian/delta) +max_velocity: 350 +max_accel: 10000 +max_z_velocity: 10 +max_z_accel: 200 + +[extruder] +step_pin: PC5 +dir_pin: !PC4 +enable_pin: !PB0 +microsteps: 64 +rotation_distance: 23.310912 #Only for BMG gears, replace it with your own extruder parameters. See https://www.klipper3d.org/Rotation_Distance.html +gear_ratio: 50:10 #Same as above +heater_pin: PC6 +sensor_pin: PC1 + +#[tmc2209 extruder] #De-comment this section if using a TMC2209 stepper driver, replace it with your TMC model(e.g. tmc2240, tmc5160). Applies to the other [tmc2209] section. +#uart_pin: PA7 +#interpolate: True +#run_current: 0.8 +#stealthchop_threshold: 0 + +[stepper_x] +step_pin: PC15 +dir_pin: PC14 +enable_pin: !PC2 +microsteps: 64 +rotation_distance: 40 #See https://www.klipper3d.org/Rotation_Distance.html +endstop_pin:^PB4 + +#[tmc2209 stepper_x] +#uart_pin: PC13 +#interpolate: True +#run_current: 1.2 +#stealthchop_threshold: 0 + +[stepper_y] +step_pin: PA1 +dir_pin: PA0 +enable_pin: !PA2 +microsteps: 64 +rotation_distance: 40 #Same as above +endstop_pin: ^PB3 + +#[tmc2209 stepper_y] +#uart_pin: PC3 +#interpolate: True +#run_current: 1.2 +#stealthchop_threshold: 0 + +[stepper_z] +step_pin: PA5 +dir_pin: PA4 +enable_pin: !PA6 +microsteps: 64 +rotation_distance: 8 +endstop_pin: ^PD2 + +#[tmc2209 stepper_z] +#uart_pin: PA3 +#interpolate: True +#run_current: 0.8 +#stealthchop_threshold: 0 + +#[stepper_z1] #De-comment this when using dual Z motors. +#step_pin: PB10 +#dir_pin: PB2 +#enable_pin: !PB11 +#microsteps: 64 +#rotation_distance: 8 +#[tmc2209 stepper_z1] +#uart_pin: PB1 +#interpolate: True +#run_current: 0.8 +#stealthchop_threshold: 0 + +#[bltouch] +#sensor_pin: ^PB5 +#control_pin:PA8 + +#[safe_z_home] #When using a probe for Z-endstop, it is recommended to use [safe_z_home] section to home the Z axis at the centre of your print bed. + +[heater_bed] +heater_pin: PC7 +sensor_pin: PC0 + +[fan] +pin: PC8 + +[heater_fan] +pin:PC9 +max_power:1 +shutdown_speed:0 From 63ea71d928ba55b6469171fe21b9be8d0cbd8469 Mon Sep 17 00:00:00 2001 From: EagleJinWt Date: Tue, 25 Feb 2025 18:22:46 +0100 Subject: [PATCH 02/12] Update generic-mellow-fly-d5.cfg --- config/generic-mellow-fly-d5.cfg | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg index a5c0af11a..e9a9c3edd 100644 --- a/config/generic-mellow-fly-d5.cfg +++ b/config/generic-mellow-fly-d5.cfg @@ -22,14 +22,14 @@ dir_pin: !PC4 enable_pin: !PB0 microsteps: 64 rotation_distance: 23.310912 #Only for BMG gears, replace it with your own extruder parameters. See https://www.klipper3d.org/Rotation_Distance.html -gear_ratio: 50:10 #Same as above +gear_ratio: 50:10 #Same as above heater_pin: PC6 sensor_pin: PC1 -#[tmc2209 extruder] #De-comment this section if using a TMC2209 stepper driver, replace it with your TMC model(e.g. tmc2240, tmc5160). Applies to the other [tmc2209] section. +#[tmc2209 extruder] #Decomment this section if using a TMC2209 stepper driver, replace it with your TMC model. Applies to the other [tmc2209] section. #uart_pin: PA7 -#interpolate: True -#run_current: 0.8 +#interpolate: True +#run_current: 0.8 #stealthchop_threshold: 0 [stepper_x] @@ -51,7 +51,7 @@ step_pin: PA1 dir_pin: PA0 enable_pin: !PA2 microsteps: 64 -rotation_distance: 40 #Same as above +rotation_distance: 40 #Same as above endstop_pin: ^PB3 #[tmc2209 stepper_y] @@ -74,12 +74,12 @@ endstop_pin: ^PD2 #run_current: 0.8 #stealthchop_threshold: 0 -#[stepper_z1] #De-comment this when using dual Z motors. +#[stepper_z1] #Decomment this when using dual Z motors. #step_pin: PB10 #dir_pin: PB2 #enable_pin: !PB11 #microsteps: 64 -#rotation_distance: 8 +#rotation_distance: 8 #[tmc2209 stepper_z1] #uart_pin: PB1 #interpolate: True @@ -92,10 +92,6 @@ endstop_pin: ^PD2 #[safe_z_home] #When using a probe for Z-endstop, it is recommended to use [safe_z_home] section to home the Z axis at the centre of your print bed. -[heater_bed] -heater_pin: PC7 -sensor_pin: PC0 - [fan] pin: PC8 @@ -103,3 +99,7 @@ pin: PC8 pin:PC9 max_power:1 shutdown_speed:0 + +[heater_bed] +heater_pin: PC7 +sensor_pin: PC0 From fded0a4e3f4eaba035a4cf1840adcb18d776f24d Mon Sep 17 00:00:00 2001 From: EagleJinWt Date: Wed, 26 Feb 2025 09:48:48 +0100 Subject: [PATCH 03/12] Update generic-mellow-fly-d5.cfg --- config/generic-mellow-fly-d5.cfg | 34 ++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg index e9a9c3edd..49a3f7224 100644 --- a/config/generic-mellow-fly-d5.cfg +++ b/config/generic-mellow-fly-d5.cfg @@ -3,6 +3,7 @@ #Pruduct page on https://mellow.klipper.cn/en/docs/category/fly-d5 #STM32F072, 8KiB bootloader, 8 Mhz crystal, USB or USB to CAN adapter(depends on if you are using a canbus toolhead board) #See more about firmwares on https://mellow.klipper.cn/en/docs/ProductDoc/MainBoard/fly-d/fly-d5/flash/ +#This document is mainly used for pin references, change other parameters before actual use. [mcu] serial:/put/your/serial/here # See https://www.klipper3d.org/FAQ.html#wheres-my-serial-port for more @@ -21,10 +22,19 @@ step_pin: PC5 dir_pin: !PC4 enable_pin: !PB0 microsteps: 64 -rotation_distance: 23.310912 #Only for BMG gears, replace it with your own extruder parameters. See https://www.klipper3d.org/Rotation_Distance.html -gear_ratio: 50:10 #Same as above +nozzle_diameter: 0.4 +filament_diameter: 1.75 +rotation_distance: 23.310912 +gear_ratio: 50:10 heater_pin: PC6 sensor_pin: PC1 +sensor_type: Generic 3950 +control: pid +pid_Kp: 10 +pid_Ki: 10 +pid_Kd: 10 +min_temp: 0 +max_temp: 300 #[tmc2209 extruder] #Decomment this section if using a TMC2209 stepper driver, replace it with your TMC model. Applies to the other [tmc2209] section. #uart_pin: PA7 @@ -39,6 +49,8 @@ enable_pin: !PC2 microsteps: 64 rotation_distance: 40 #See https://www.klipper3d.org/Rotation_Distance.html endstop_pin:^PB4 +position_endstop: 0 +position_max: 200 #[tmc2209 stepper_x] #uart_pin: PC13 @@ -53,6 +65,8 @@ enable_pin: !PA2 microsteps: 64 rotation_distance: 40 #Same as above endstop_pin: ^PB3 +position_endstop: 0 +position_max: 200 #[tmc2209 stepper_y] #uart_pin: PC3 @@ -67,6 +81,8 @@ enable_pin: !PA6 microsteps: 64 rotation_distance: 8 endstop_pin: ^PD2 +position_endstop: 0 +position_max: 200 #[tmc2209 stepper_z] #uart_pin: PA3 @@ -74,12 +90,15 @@ endstop_pin: ^PD2 #run_current: 0.8 #stealthchop_threshold: 0 -#[stepper_z1] #Decomment this when using dual Z motors. +#[stepper_z1] #Decomment this when using dual Z motors. Pins are the "E1" motor pins on the board. #step_pin: PB10 #dir_pin: PB2 #enable_pin: !PB11 #microsteps: 64 #rotation_distance: 8 +#position_endstop: 0 +#position_max: 200 + #[tmc2209 stepper_z1] #uart_pin: PB1 #interpolate: True @@ -95,7 +114,7 @@ endstop_pin: ^PD2 [fan] pin: PC8 -[heater_fan] +[heater_fan Heatbreak_Fan] pin:PC9 max_power:1 shutdown_speed:0 @@ -103,3 +122,10 @@ shutdown_speed:0 [heater_bed] heater_pin: PC7 sensor_pin: PC0 +sensor_type: Generic 3950 +control: pid #Run "PID_CALIBRATE HEATER=heater_bed TARGET=270" to calibrate flowing pid control values before print! They are just placeholders! +pid_Kp: 10 +pid_Ki: 10 +pid_Kd: 10 +min_temp: 0 +max_temp: 100 From 3c1987fce9c06d0bafa90506e934adbc14dbae69 Mon Sep 17 00:00:00 2001 From: EagleJinWt Date: Wed, 26 Feb 2025 09:49:49 +0100 Subject: [PATCH 04/12] Update printers.test --- test/klippy/printers.test | 1 + 1 file changed, 1 insertion(+) diff --git a/test/klippy/printers.test b/test/klippy/printers.test index 92c340cb8..0c8904e33 100644 --- a/test/klippy/printers.test +++ b/test/klippy/printers.test @@ -142,6 +142,7 @@ CONFIG ../../config/generic-th3d-ezboard-lite-v1.2.cfg # Printers using the stm32f070 DICTIONARY stm32f070.dict +CONFIG ../../config/generic-mellow-fly-d5.cfg CONFIG ../../config/printer-monoprice-mini-delta-2017.cfg CONFIG ../../config/printer-monoprice-select-mini-v2-2018.cfg From 85ffeb1fd80c8f644764cf4e5915705828ede44f Mon Sep 17 00:00:00 2001 From: EagleJinWt Date: Wed, 26 Feb 2025 12:30:40 +0100 Subject: [PATCH 05/12] Update generic-mellow-fly-d5.cfg --- config/generic-mellow-fly-d5.cfg | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg index 49a3f7224..156e656c7 100644 --- a/config/generic-mellow-fly-d5.cfg +++ b/config/generic-mellow-fly-d5.cfg @@ -1,11 +1,23 @@ -#Mellow Fly D5 generic printer.cfg -#Check https://www.klipper3d.org/Config_Reference.html before use. -#Pruduct page on https://mellow.klipper.cn/en/docs/category/fly-d5 -#STM32F072, 8KiB bootloader, 8 Mhz crystal, USB or USB to CAN adapter(depends on if you are using a canbus toolhead board) -#See more about firmwares on https://mellow.klipper.cn/en/docs/ProductDoc/MainBoard/fly-d/fly-d5/flash/ -#This document is mainly used for pin references, change other parameters before actual use. +# This file contains common pin mappings for the Mellow Fly D5 + +# Important! Do not use this config with a Fly DP5 board! + +# To use this board in serial mode, during "make menuconfig", select "Enable +# low-level configuration options", select the STM32F072 +# micro-controller, select a "8KiB bootloader", and select a "8Mhz +# crystal", "USB (On PA11/PA12)" + +# To use this board in CAN bus mode(maybe along with a CAN bus toolhead +# board), during "make menuconfig", select "Enable low-leveb +# configuration options", select the STM21F072 microcontroller, +# select a "8KiB bootloader", and select a "8Mhz crystal", +# "USB to CAN bus bridge (USB on PA11/PA12)" + +# See docs/Config_Reference.md for a description of parameters. + [mcu] -serial:/put/your/serial/here # See https://www.klipper3d.org/FAQ.html#wheres-my-serial-port for more +serial: /put/your/serial/here # Replace with your serial address here, see docs/FAQ.md#wheres-my-serial-port for more +#canbus_uuid: 11aa22bb33cc # Replace with your canbus uuid here, see docs/CANBUS.md for more [temperature_sensor Fly-D5] #Mainboard Temperature sensor_type: temperature_mcu @@ -36,7 +48,7 @@ pid_Kd: 10 min_temp: 0 max_temp: 300 -#[tmc2209 extruder] #Decomment this section if using a TMC2209 stepper driver, replace it with your TMC model. Applies to the other [tmc2209] section. +#[tmc2209 extruder] # Uncomment this section if using a TMC2209 stepper driver, replace it with your TMC model. Applies to the other [tmc2209] section. #uart_pin: PA7 #interpolate: True #run_current: 0.8 @@ -90,7 +102,7 @@ position_max: 200 #run_current: 0.8 #stealthchop_threshold: 0 -#[stepper_z1] #Decomment this when using dual Z motors. Pins are the "E1" motor pins on the board. +#[stepper_z1] # Uncomment this when using dual Z motors. Pins are the "E1" motor pins on the board. #step_pin: PB10 #dir_pin: PB2 #enable_pin: !PB11 From bfa6f92e288e2240c191c9e4076e5e311f8c321f Mon Sep 17 00:00:00 2001 From: EagleJinWt Date: Wed, 26 Feb 2025 12:32:08 +0100 Subject: [PATCH 06/12] Update generic-mellow-fly-d5.cfg Just a typo --- config/generic-mellow-fly-d5.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg index 156e656c7..6c7c703d3 100644 --- a/config/generic-mellow-fly-d5.cfg +++ b/config/generic-mellow-fly-d5.cfg @@ -9,7 +9,7 @@ # To use this board in CAN bus mode(maybe along with a CAN bus toolhead # board), during "make menuconfig", select "Enable low-leveb -# configuration options", select the STM21F072 microcontroller, +# configuration options", select the STM32F072 microcontroller, # select a "8KiB bootloader", and select a "8Mhz crystal", # "USB to CAN bus bridge (USB on PA11/PA12)" From 7a87b823d3a42b99786d23b120eba6809241f8e2 Mon Sep 17 00:00:00 2001 From: EagleJinWt Date: Wed, 26 Feb 2025 12:32:33 +0100 Subject: [PATCH 07/12] Update generic-mellow-fly-d5.cfg Another one --- config/generic-mellow-fly-d5.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg index 6c7c703d3..724f125db 100644 --- a/config/generic-mellow-fly-d5.cfg +++ b/config/generic-mellow-fly-d5.cfg @@ -9,7 +9,7 @@ # To use this board in CAN bus mode(maybe along with a CAN bus toolhead # board), during "make menuconfig", select "Enable low-leveb -# configuration options", select the STM32F072 microcontroller, +# configuration options", select the STM32F072 micro-controller, # select a "8KiB bootloader", and select a "8Mhz crystal", # "USB to CAN bus bridge (USB on PA11/PA12)" From ecba1346aa8cc8810b1729f464b0fd3d9fa9841f Mon Sep 17 00:00:00 2001 From: EagleJinWt Date: Wed, 26 Feb 2025 12:38:16 +0100 Subject: [PATCH 08/12] Update generic-mellow-fly-d5.cfg --- config/generic-mellow-fly-d5.cfg | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg index 724f125db..8f6adfcfd 100644 --- a/config/generic-mellow-fly-d5.cfg +++ b/config/generic-mellow-fly-d5.cfg @@ -8,18 +8,18 @@ # crystal", "USB (On PA11/PA12)" # To use this board in CAN bus mode(maybe along with a CAN bus toolhead -# board), during "make menuconfig", select "Enable low-leveb -# configuration options", select the STM32F072 micro-controller, -# select a "8KiB bootloader", and select a "8Mhz crystal", +# board), during "make menuconfig", select "Enable low-level +# configuration options", select the STM32F072 micro-controller, +# select a "8KiB bootloader", and select a "8Mhz crystal", # "USB to CAN bus bridge (USB on PA11/PA12)" # See docs/Config_Reference.md for a description of parameters. [mcu] -serial: /put/your/serial/here # Replace with your serial address here, see docs/FAQ.md#wheres-my-serial-port for more +serial: /dev/serial/by-id/usb-klipper-stm32f072xx-1234567890987654321 # Replace with your serial address here, see docs/FAQ.md#wheres-my-serial-port for more #canbus_uuid: 11aa22bb33cc # Replace with your canbus uuid here, see docs/CANBUS.md for more -[temperature_sensor Fly-D5] #Mainboard Temperature +[temperature_sensor Fly-D5] # Mainboard Temperature sensor_type: temperature_mcu [printer] @@ -59,7 +59,7 @@ step_pin: PC15 dir_pin: PC14 enable_pin: !PC2 microsteps: 64 -rotation_distance: 40 #See https://www.klipper3d.org/Rotation_Distance.html +rotation_distance: 40 # See docs/Rotation_Distance.md endstop_pin:^PB4 position_endstop: 0 position_max: 200 @@ -75,7 +75,7 @@ step_pin: PA1 dir_pin: PA0 enable_pin: !PA2 microsteps: 64 -rotation_distance: 40 #Same as above +rotation_distance: 40 # Same as above endstop_pin: ^PB3 position_endstop: 0 position_max: 200 From 0b452ab908240bedff7664155e044804fed77c33 Mon Sep 17 00:00:00 2001 From: EagleJinWt Date: Fri, 14 Mar 2025 13:22:28 +0100 Subject: [PATCH 09/12] Update generic-mellow-fly-d5.cfg SPI drivers are mainly used on X/Y motors only so I only added the spi reference on them, tell me if that's not enough. --- config/generic-mellow-fly-d5.cfg | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg index 8f6adfcfd..63dff4a1c 100644 --- a/config/generic-mellow-fly-d5.cfg +++ b/config/generic-mellow-fly-d5.cfg @@ -7,11 +7,13 @@ # micro-controller, select a "8KiB bootloader", and select a "8Mhz # crystal", "USB (On PA11/PA12)" -# To use this board in CAN bus mode(maybe along with a CAN bus toolhead +# To use this board in CAN bus bridge mode(along with a CAN bus toolhead # board), during "make menuconfig", select "Enable low-level # configuration options", select the STM32F072 micro-controller, # select a "8KiB bootloader", and select a "8Mhz crystal", -# "USB to CAN bus bridge (USB on PA11/PA12)" +# "USB to CAN bus bridge (USB on PA11/PA12)". In this mode, the mainboard +# it self will also work in CAN bus mode, so you will need a canbus_uuid +# instead of serial. # See docs/Config_Reference.md for a description of parameters. @@ -41,7 +43,7 @@ gear_ratio: 50:10 heater_pin: PC6 sensor_pin: PC1 sensor_type: Generic 3950 -control: pid +control: pid # Run "PID_CALIBRATE HEATER=extruder TARGET=250" to calibrate flowing pid control values before print! They are just placeholders! pid_Kp: 10 pid_Ki: 10 pid_Kd: 10 @@ -66,6 +68,8 @@ position_max: 200 #[tmc2209 stepper_x] #uart_pin: PC13 +#cs_pin: PC13 # References for SPI TMC drivers(tmc5160, tmc2240, etc.) +#spi_bus: spi2 #interpolate: True #run_current: 1.2 #stealthchop_threshold: 0 @@ -82,6 +86,8 @@ position_max: 200 #[tmc2209 stepper_y] #uart_pin: PC3 +#cs_pin: PC3 +#spi_bud: spi2 #interpolate: True #run_current: 1.2 #stealthchop_threshold: 0 @@ -119,7 +125,7 @@ position_max: 200 #[bltouch] #sensor_pin: ^PB5 -#control_pin:PA8 +#control_pin: PA8 #[safe_z_home] #When using a probe for Z-endstop, it is recommended to use [safe_z_home] section to home the Z axis at the centre of your print bed. @@ -127,17 +133,26 @@ position_max: 200 pin: PC8 [heater_fan Heatbreak_Fan] -pin:PC9 -max_power:1 -shutdown_speed:0 +pin: PC9 +max_power: 1 +shutdown_speed: 0 [heater_bed] heater_pin: PC7 sensor_pin: PC0 sensor_type: Generic 3950 -control: pid #Run "PID_CALIBRATE HEATER=heater_bed TARGET=270" to calibrate flowing pid control values before print! They are just placeholders! +control: pid #Run "PID_CALIBRATE HEATER=heater_bed TARGET=70" to calibrate flowing pid control values before print! They are just placeholders! pid_Kp: 10 pid_Ki: 10 pid_Kd: 10 min_temp: 0 max_temp: 100 + +[board_pins] +aliases: +# EXP1 header +EXP1_1=NC, EXP1_3=PC11, EXP1_5=PC10, EXP1_7=NC, EXP1_9=, +EXP1_2=PA15, EXP1_4=PA14, EXP1_6=PA13, EXP1_8=NC, EXP1_10=<5V>, +# EXP2 header +EXP2_1=PB14, EXP2_3=PC12, EXP2_5=PB6, EXP2_7=NC, EXP2_9=, +EXP2_2=PB13, EXP2_4=PB12, EXP2_6=PB15, EXP2_8=, EXP2_10= From 798a09f6e73f7421029dd23600ec58bdcb7dee43 Mon Sep 17 00:00:00 2001 From: EagleJinWt Date: Fri, 14 Mar 2025 13:25:04 +0100 Subject: [PATCH 10/12] Update generic-mellow-fly-d5.cfg --- config/generic-mellow-fly-d5.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg index 63dff4a1c..6ae2aa41c 100644 --- a/config/generic-mellow-fly-d5.cfg +++ b/config/generic-mellow-fly-d5.cfg @@ -12,7 +12,7 @@ # configuration options", select the STM32F072 micro-controller, # select a "8KiB bootloader", and select a "8Mhz crystal", # "USB to CAN bus bridge (USB on PA11/PA12)". In this mode, the mainboard -# it self will also work in CAN bus mode, so you will need a canbus_uuid +# it self will also work in CAN bus mode, so you will need a canbus_uuid # instead of serial. # See docs/Config_Reference.md for a description of parameters. From 66c6b458eed568f2b5f78f375bf556b7ea5bf62b Mon Sep 17 00:00:00 2001 From: EagleJinWt Date: Fri, 14 Mar 2025 14:27:42 +0100 Subject: [PATCH 11/12] Update generic-mellow-fly-d5.cfg --- config/generic-mellow-fly-d5.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg index 6ae2aa41c..1b48fa2a3 100644 --- a/config/generic-mellow-fly-d5.cfg +++ b/config/generic-mellow-fly-d5.cfg @@ -151,8 +151,8 @@ max_temp: 100 [board_pins] aliases: # EXP1 header -EXP1_1=NC, EXP1_3=PC11, EXP1_5=PC10, EXP1_7=NC, EXP1_9=, -EXP1_2=PA15, EXP1_4=PA14, EXP1_6=PA13, EXP1_8=NC, EXP1_10=<5V>, + EXP1_1=NC, EXP1_3=PC11, EXP1_5=PC10, EXP1_7=NC, EXP1_9=, + EXP1_2=PA15, EXP1_4=PA14, EXP1_6=PA13, EXP1_8=NC, EXP1_10=<5V>, # EXP2 header -EXP2_1=PB14, EXP2_3=PC12, EXP2_5=PB6, EXP2_7=NC, EXP2_9=, -EXP2_2=PB13, EXP2_4=PB12, EXP2_6=PB15, EXP2_8=, EXP2_10= + EXP2_1=PB14, EXP2_3=PC12, EXP2_5=PB6, EXP2_7=NC, EXP2_9=, + EXP2_2=PB13, EXP2_4=PB12, EXP2_6=PB15, EXP2_8=, EXP2_10= From 89c5bb22cd2146e182b88f3ea8dffcdf1a61b575 Mon Sep 17 00:00:00 2001 From: EagleJinWt Date: Wed, 19 Mar 2025 12:35:47 +0100 Subject: [PATCH 12/12] Update generic-mellow-fly-d5.cfg --- config/generic-mellow-fly-d5.cfg | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg index 1b48fa2a3..7a63cae63 100644 --- a/config/generic-mellow-fly-d5.cfg +++ b/config/generic-mellow-fly-d5.cfg @@ -74,6 +74,13 @@ position_max: 200 #run_current: 1.2 #stealthchop_threshold: 0 +#[tmc5160 stepper_x] +#cs_pin: PC13 +#spi_bus: spi2 +#interpolate: True +#run_current: 1.2 +#stealthchop_threshold: 0 + [stepper_y] step_pin: PA1 dir_pin: PA0 @@ -92,6 +99,13 @@ position_max: 200 #run_current: 1.2 #stealthchop_threshold: 0 +#[tmc5160 stepper_y] +#cs_pin: PC3 +#spi_bud: spi2 +#interpolate: True +#run_current: 1.2 +#stealthchop_threshold: 0 + [stepper_z] step_pin: PA5 dir_pin: PA4 @@ -134,8 +148,6 @@ pin: PC8 [heater_fan Heatbreak_Fan] pin: PC9 -max_power: 1 -shutdown_speed: 0 [heater_bed] heater_pin: PC7