Firmware Config is based on Klippain with machine specific overrides.
######################################################### \ #### User MCU and TMCs wiring definition file ########### + --> Everything MCU related :) ######################################################### / # This file is yours: keep in mind that it will not be erased when updating # the config using moonraker and it will be kept as you've set it. # Put here all your wiring definitions, your MCU serial port, CANbus UUID, etc... # It should be populated automatically with some default wiring templates during # the first time install of the config if you choose to do so when asked by the # script. If it's not the case, you will need to manually define all your # [board_pins] section. You can use the pinout documentation here: ./docs/pinout.md # ------------------------------------------------------------------------------------------ #-------------------------# # TMCs DRIVERS # #-------------------------# # ---------------------------------------------------------------------- AXIS DRIVERS ----> optional, but only one line per axis need to be selected ### 1. X Drivers ------------------------------------------------------------------------- [include config/hardware/axis/X/TMC/TMC2209.cfg] # [include config/hardware/axis/X/TMC/TMC2209_V0specific.cfg] # Should only be used for early LDO V0 kits to mitigate the known VFAs issue # [include config/hardware/axis/X/TMC/TMC2240.cfg] # [include config/hardware/axis/X/TMC/TMC5160.cfg] ### 2. Y Drivers ------------------------------------------------------------------------- [include config/hardware/axis/Y/TMC/TMC2209.cfg] # [include config/hardware/axis/Y/TMC/TMC2209_V0specific.cfg] # Should only be used for early LDO V0 kits to mitigate the known VFAs issue # [include config/hardware/axis/Y/TMC/TMC2240.cfg] # [include config/hardware/axis/Y/TMC/TMC5160.cfg] ### 3. Z Drivers ------------------------------------------------------------------------- [include config/hardware/axis/Z/TMC/TMC2209_1-Motor.cfg] # [include config/hardware/axis/Z/TMC/TMC2209_3-Motors.cfg] # [include config/hardware/axis/Z/TMC/TMC2209_4-Motors.cfg] # [include config/hardware/axis/Z/TMC/TMC2240_1-Motor.cfg] # [include config/hardware/axis/Z/TMC/TMC2240_3-Motors.cfg] # [include config/hardware/axis/Z/TMC/TMC2240_4-Motors.cfg] # [include config/hardware/axis/Z/TMC/TMC5160_1-Motor.cfg] # [include config/hardware/axis/Z/TMC/TMC5160_3-Motors.cfg] # [include config/hardware/axis/Z/TMC/TMC5160_4-Motors.cfg] # ---------------------------------------------------------------------------------------- # ------------------------------------------------------------------- EXTRUDER DRIVER ----> optional, but only one line need to be selected ### -------------------------------------------------------------------------------------- [include config/hardware/extruder/TMC/TMC2209.cfg] # [include config/hardware/extruder/TMC/TMC2240.cfg] # ---------------------------------------------------------------------------------------- #---------------------------------------------# #### Fysetc Catalyst v1.x MCU definition ###### #---------------------------------------------# [mcu] ##-------------------------------------------------------------------- # This board work by using a serial connection by default. If you # want to use CAN, invert the commented lines and use canbus_uuid. serial: /dev/serial/by-id/ # canbus_uuid: change-me-to-the-correct-canbus-id ##-------------------------------------------------------------------- [include config/mcu_definitions/main/Fysetc_Catalyst_v1.x.cfg] # Do not remove this line [board_pins catalyst_mcu] mcu: mcu aliases: X_STEP=MCU_B_MOT_STEP , X_DIR=MCU_B_MOT_DIR , X_ENABLE=MCU_B_MOT_ENABLE , X_TMCUART=MCU_B_MOT_CS_PDN , Y_STEP=MCU_A_MOT_STEP , Y_DIR=MCU_A_MOT_DIR , Y_ENABLE=MCU_A_MOT_ENABLE , Y_TMCUART=MCU_A_MOT_CS_PDN , Z_STEP=MCU_Z_MOT_STEP , Z_DIR=MCU_Z_MOT_DIR , Z_ENABLE=MCU_Z_MOT_ENABLE , Z_TMCUART=MCU_Z_MOT_CS_PDN , E_STEP=MCU_E_MOT_STEP , E_DIR=MCU_E_MOT_DIR , E_ENABLE=MCU_E_MOT_ENABLE , E_TMCUART=MCU_E_MOT_CS_PDN , X_STOP=MCU_B_MOD_DIAG, Y_STOP=MCU_A_MOD_DIAG, Z_STOP=PA3, #X_STOP=tmc2209_stepper_x:virtual_endstop, Y_STOP=tmc2209_stepper_y:virtual_endstop, DRIVER_SPI_MOSI=MCU_SPI_MOSI , # Used in case of SPI drivers such as TMC2240 or TMC5160 DRIVER_SPI_MISO=MCU_SPI_MISO , # Used in case of SPI drivers such as TMC2240 or TMC5160 DRIVER_SPI_SCK=MCU_SPI_SCK , # Used in case of SPI drivers such as TMC2240 or TMC5160 PROBE_INPUT=MCU_PROBE , RUNOUT_SENSOR=MCU_IO2, E_HEATER=MCU_HEAT , E_TEMPERATURE=MCU_T0 , BED_HEATER=MCU_BED , BED_TEMPERATURE=MCU_T1 , PART_FAN=MCU_FAN1 , E_FAN=MCU_FAN0 , CONTROLLER_FAN=MCU_FAN2 , LIGHT_NEOPIXEL=MCU_NEOPIXEL ,
[extruder] control: pid pid_kp: 28.182 pid_ki: 1.978 pid_kd: 100.397 [heater_bed] control: pid pid_kp: 68.453 pid_ki: 2.749 pid_kd: 426.122 [stepper_x] dir_pin: !X_DIR [stepper_y] dir_pin: !Y_DIR [tmc2209 stepper_x] driver_SGTHRS: 100 [tmc2209 stepper_y] driver_SGTHRS: 100 [display] lcd_type: sh1106 click_pin: ^!PA15 i2c_bus: i2c1a i2c_mcu: mcu encoder_pins: ^PC1, ^PC2 kill_pin: ^!PB12 vcomh: 60 x_offset: 2 #-------------------------# # Z MOTORS DIRECTION # #-------------------------# [stepper_z] position_endstop: 114.300