mirror of
https://github.com/QIDITECH/klipper.git
synced 2026-01-31 07:58:42 +03:00
plus4的klipper版本
This commit is contained in:
6
test/configs/ar100.config
Normal file
6
test/configs/ar100.config
Normal file
@@ -0,0 +1,6 @@
|
||||
# Base config file for the ar100 CPU
|
||||
CONFIG_MACH_AR100=y
|
||||
CONFIG_WANT_DISPLAYS=n
|
||||
CONFIG_WANT_SOFTWARE_I2C=n
|
||||
CONFIG_WANT_SOFTWARE_SPI=n
|
||||
CONFIG_WANT_LIS2DW=n
|
||||
3
test/configs/hc32f460-serial-PA3PA2.config
Normal file
3
test/configs/hc32f460-serial-PA3PA2.config
Normal file
@@ -0,0 +1,3 @@
|
||||
# Base config file for boards using HC32F460
|
||||
CONFIG_MACH_HC32F460=y
|
||||
CONFIG_HC32F460_SERIAL_PA3_PA2=y
|
||||
3
test/configs/hc32f460-serial-PA7PA8.config
Normal file
3
test/configs/hc32f460-serial-PA7PA8.config
Normal file
@@ -0,0 +1,3 @@
|
||||
# Base config file for boards using HC32F460
|
||||
CONFIG_MACH_HC32F460=y
|
||||
CONFIG_HC32F460_SERIAL_PA7_PA8=y
|
||||
@@ -1,2 +1,4 @@
|
||||
# Base config file for the Beaglebone PRU
|
||||
CONFIG_MACH_PRU=y
|
||||
CONFIG_WANT_GPIO_BITBANGING=n
|
||||
CONFIG_WANT_DISPLAYS=n
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Base config file for STM32F031 boards
|
||||
CONFIG_MACH_STM32=y
|
||||
CONFIG_MACH_STM32F031=y
|
||||
CONFIG_WANT_GPIO_BITBANGING=n
|
||||
CONFIG_WANT_DISPLAYS=n
|
||||
|
||||
5
test/configs/stm32f042.config
Normal file
5
test/configs/stm32f042.config
Normal file
@@ -0,0 +1,5 @@
|
||||
# Base config file for STM32F042 ARM processor
|
||||
CONFIG_MACH_STM32=y
|
||||
CONFIG_MACH_STM32F042=y
|
||||
CONFIG_WANT_SOFTWARE_I2C=n
|
||||
CONFIG_WANT_LIS2DW=n
|
||||
3
test/configs/stm32f401.config
Normal file
3
test/configs/stm32f401.config
Normal file
@@ -0,0 +1,3 @@
|
||||
# Base config file for STM32F401 ARM processor
|
||||
CONFIG_MACH_STM32=y
|
||||
CONFIG_MACH_STM32F401=y
|
||||
3
test/configs/stm32f765.config
Normal file
3
test/configs/stm32f765.config
Normal file
@@ -0,0 +1,3 @@
|
||||
# Base config file for STM32F765 ARM processor
|
||||
CONFIG_MACH_STM32=y
|
||||
CONFIG_MACH_STM32F765=y
|
||||
3
test/configs/stm32g431.config
Normal file
3
test/configs/stm32g431.config
Normal file
@@ -0,0 +1,3 @@
|
||||
# Base config file for STM32G431 ARM processor
|
||||
CONFIG_MACH_STM32=y
|
||||
CONFIG_MACH_STM32G431=y
|
||||
3
test/configs/stm32h723.config
Normal file
3
test/configs/stm32h723.config
Normal file
@@ -0,0 +1,3 @@
|
||||
# Base config file for STM32H723 ARM processor
|
||||
CONFIG_MACH_STM32=y
|
||||
CONFIG_MACH_STM32H723=y
|
||||
3
test/configs/stm32l412.config
Normal file
3
test/configs/stm32l412.config
Normal file
@@ -0,0 +1,3 @@
|
||||
# Base config file for STM32L412 ARM processor
|
||||
CONFIG_MACH_STM32=y
|
||||
CONFIG_MACH_STM32L412=y
|
||||
@@ -2,10 +2,49 @@
|
||||
DICTIONARY atmega2560.dict
|
||||
CONFIG gcode_arcs.cfg
|
||||
|
||||
# Home and move in arcs
|
||||
# Home and move in XY arc
|
||||
G28
|
||||
G90
|
||||
G1 X20 Y20 Z20
|
||||
G2 X125 Y32 Z20 E1 I10.5 J10.5
|
||||
|
||||
# XY+Z arc move
|
||||
G2 X20 Y20 Z10 E1 I10.5 J10.5
|
||||
|
||||
# allowable commands
|
||||
G2 X20 Y20 I0 J10
|
||||
G2 X20 Y20 J10
|
||||
G2 X20 Y20 I10 J0
|
||||
G2 X20 Y20 I10
|
||||
|
||||
# Home and move in XZ arc
|
||||
G28
|
||||
G90
|
||||
G1 X20 Y20 Z20
|
||||
G18
|
||||
G2 X125 Y20 Z32 E1 I10.5 K10.5
|
||||
|
||||
# XZ+Y arc move
|
||||
G2 X20 Y10 Z20 E1 I10.5 K10.5
|
||||
|
||||
# allowable commands
|
||||
G2 X20 Y20 I0 K10
|
||||
G2 X20 Y20 K10
|
||||
G2 X20 Y20 I10 K0
|
||||
G2 X20 Y20 I10
|
||||
|
||||
# Home and move in YZ arc
|
||||
G28
|
||||
G90
|
||||
G1 X20 Y20 Z20
|
||||
G19
|
||||
G2 X20 Y125 Z32 E1 J10.5 K10.5
|
||||
|
||||
# YZ+X arc move
|
||||
G2 X10 Y20 Z20 E1 J10.5 K10.5
|
||||
|
||||
# allowable commands
|
||||
G2 X20 Y20 J0 K10
|
||||
G2 X20 Y20 K10
|
||||
G2 X20 Y20 J10 K0
|
||||
G2 X20 Y20 J10
|
||||
|
||||
122
test/klippy/hybrid_corexy_dual_carriage.cfg
Normal file
122
test/klippy/hybrid_corexy_dual_carriage.cfg
Normal file
@@ -0,0 +1,122 @@
|
||||
# Test config with dual carriage and multiple extruders
|
||||
[stepper_x]
|
||||
step_pin: PF0
|
||||
dir_pin: PF1
|
||||
enable_pin: !PD7
|
||||
microsteps: 16
|
||||
rotation_distance: 40
|
||||
endstop_pin: ^PE5
|
||||
position_endstop: 0
|
||||
position_max: 200
|
||||
homing_speed: 50
|
||||
|
||||
[dual_carriage]
|
||||
axis: x
|
||||
step_pin: PH1
|
||||
dir_pin: PH0
|
||||
enable_pin: !PA1
|
||||
microsteps: 16
|
||||
rotation_distance: 40
|
||||
endstop_pin: ^PE4
|
||||
position_endstop: 200
|
||||
position_max: 200
|
||||
homing_speed: 50
|
||||
|
||||
[stepper_y]
|
||||
step_pin: PF6
|
||||
dir_pin: !PF7
|
||||
enable_pin: !PF2
|
||||
microsteps: 16
|
||||
rotation_distance: 40
|
||||
endstop_pin: ^PJ1
|
||||
position_endstop: 0
|
||||
position_max: 200
|
||||
homing_speed: 50
|
||||
|
||||
[stepper_z]
|
||||
step_pin: PL3
|
||||
dir_pin: PL1
|
||||
enable_pin: !PK0
|
||||
microsteps: 16
|
||||
rotation_distance: 8
|
||||
endstop_pin: ^PD3
|
||||
position_endstop: 0.5
|
||||
position_max: 200
|
||||
|
||||
[extruder]
|
||||
step_pin: PA4
|
||||
dir_pin: PA6
|
||||
enable_pin: !PA2
|
||||
microsteps: 16
|
||||
rotation_distance: 33.5
|
||||
nozzle_diameter: 0.400
|
||||
filament_diameter: 1.750
|
||||
heater_pin: PB4
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: PK5
|
||||
control: pid
|
||||
pid_Kp: 22.2
|
||||
pid_Ki: 1.08
|
||||
pid_Kd: 114
|
||||
min_temp: 0
|
||||
max_temp: 250
|
||||
|
||||
[gcode_macro PARK_extruder]
|
||||
gcode:
|
||||
G90
|
||||
G1 X0
|
||||
|
||||
[gcode_macro T0]
|
||||
gcode:
|
||||
PARK_{printer.toolhead.extruder}
|
||||
ACTIVATE_EXTRUDER EXTRUDER=extruder
|
||||
SET_DUAL_CARRIAGE CARRIAGE=0
|
||||
|
||||
[extruder1]
|
||||
step_pin: PC1
|
||||
dir_pin: PC3
|
||||
enable_pin: !PC7
|
||||
microsteps: 16
|
||||
rotation_distance: 33.5
|
||||
nozzle_diameter: 0.400
|
||||
filament_diameter: 1.750
|
||||
heater_pin: PB5
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: PK7
|
||||
control: pid
|
||||
pid_Kp: 22.2
|
||||
pid_Ki: 1.08
|
||||
pid_Kd: 114
|
||||
min_temp: 0
|
||||
max_temp: 250
|
||||
|
||||
[gcode_macro PARK_extruder1]
|
||||
gcode:
|
||||
G90
|
||||
G1 X200
|
||||
|
||||
[gcode_macro T1]
|
||||
gcode:
|
||||
PARK_{printer.toolhead.extruder}
|
||||
ACTIVATE_EXTRUDER EXTRUDER=extruder1
|
||||
SET_DUAL_CARRIAGE CARRIAGE=1
|
||||
|
||||
[heater_bed]
|
||||
heater_pin: PH5
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: PK6
|
||||
control: watermark
|
||||
min_temp: 0
|
||||
max_temp: 130
|
||||
|
||||
[mcu]
|
||||
serial: /dev/ttyACM0
|
||||
|
||||
[printer]
|
||||
kinematics: hybrid_corexy
|
||||
max_velocity: 300
|
||||
max_accel: 3000
|
||||
max_z_velocity: 5
|
||||
max_z_accel: 100
|
||||
|
||||
[input_shaper]
|
||||
44
test/klippy/hybrid_corexy_dual_carriage.test
Normal file
44
test/klippy/hybrid_corexy_dual_carriage.test
Normal file
@@ -0,0 +1,44 @@
|
||||
# Test cases on hybrid corexy printers with dual carriage and multiple extruders
|
||||
CONFIG hybrid_corexy_dual_carriage.cfg
|
||||
DICTIONARY atmega2560.dict
|
||||
|
||||
# First home the printer
|
||||
G90
|
||||
G28
|
||||
|
||||
# Perform a dummy move
|
||||
G1 X10 F6000
|
||||
|
||||
# Activate alternate carriage
|
||||
SET_DUAL_CARRIAGE CARRIAGE=1
|
||||
G1 X190 F6000
|
||||
|
||||
# Go back to main carriage
|
||||
SET_DUAL_CARRIAGE CARRIAGE=0
|
||||
G1 X20 F6000
|
||||
|
||||
# Enable Input Shaper
|
||||
SET_DUAL_CARRIAGE CARRIAGE=1
|
||||
SET_INPUT_SHAPER SHAPER_TYPE_X=MZV SHAPER_FREQ_X=70
|
||||
SET_INPUT_SHAPER SHAPER_TYPE_Y=2HUMP_EI SHAPER_FREQ_Y=50
|
||||
SET_DUAL_CARRIAGE CARRIAGE=0
|
||||
SET_INPUT_SHAPER SHAPER_TYPE_X=EI SHAPER_FREQ_X=60
|
||||
SET_INPUT_SHAPER SHAPER_TYPE_Y=2HUMP_EI SHAPER_FREQ_Y=50
|
||||
|
||||
|
||||
# Test changing extruders
|
||||
G1 X5
|
||||
T1
|
||||
G91
|
||||
G1 X-10 E.2
|
||||
T0
|
||||
G91
|
||||
G1 X20 E.2
|
||||
G90
|
||||
|
||||
QUERY_ENDSTOPS
|
||||
|
||||
# Verify STEPPER_BUZZ
|
||||
STEPPER_BUZZ STEPPER=dual_carriage
|
||||
STEPPER_BUZZ STEPPER=extruder
|
||||
STEPPER_BUZZ STEPPER=extruder1
|
||||
@@ -9,6 +9,7 @@ CONFIG ../../config/example-corexz.cfg
|
||||
CONFIG ../../config/example-hybrid-corexy.cfg
|
||||
CONFIG ../../config/example-hybrid-corexz.cfg
|
||||
CONFIG ../../config/example-delta.cfg
|
||||
CONFIG ../../config/example-deltesian.cfg
|
||||
CONFIG ../../config/example-rotary-delta.cfg
|
||||
CONFIG ../../config/example-winch.cfg
|
||||
|
||||
@@ -29,8 +30,11 @@ CONFIG ../../config/printer-anycubic-4maxpro-2.0-2021.cfg
|
||||
CONFIG ../../config/printer-anycubic-i3-mega-2017.cfg
|
||||
CONFIG ../../config/printer-anycubic-kossel-2016.cfg
|
||||
CONFIG ../../config/printer-anycubic-kossel-plus-2017.cfg
|
||||
CONFIG ../../config/printer-bq-hephestos-2014.cfg
|
||||
CONFIG ../../config/printer-creality-cr5pro-ht-2022.cfg
|
||||
CONFIG ../../config/printer-creality-cr10-v3-2020.cfg
|
||||
CONFIG ../../config/printer-creality-cr10s-2017.cfg
|
||||
CONFIG ../../config/printer-creality-cr10s-pro-v2-2020.cfg
|
||||
CONFIG ../../config/printer-creality-cr20-2018.cfg
|
||||
CONFIG ../../config/printer-creality-cr20-pro-2019.cfg
|
||||
CONFIG ../../config/printer-creality-ender5plus-2019.cfg
|
||||
@@ -39,6 +43,7 @@ CONFIG ../../config/printer-flashforge-creator-pro-2018.cfg
|
||||
CONFIG ../../config/printer-hiprecy-leo-2019.cfg
|
||||
CONFIG ../../config/printer-longer-lk4-pro-2019.cfg
|
||||
CONFIG ../../config/printer-lulzbot-mini1-2016.cfg
|
||||
CONFIG ../../config/printer-lulzbot-mini2-2018.cfg
|
||||
CONFIG ../../config/printer-lulzbot-taz6-2017.cfg
|
||||
CONFIG ../../config/printer-lulzbot-taz6-dual-v3-2017.cfg
|
||||
CONFIG ../../config/printer-makergear-m2-2012.cfg
|
||||
@@ -69,6 +74,7 @@ DICTIONARY atmega1284p.dict
|
||||
CONFIG ../../config/generic-melzi.cfg
|
||||
CONFIG ../../config/printer-anet-a4-2018.cfg
|
||||
CONFIG ../../config/printer-anet-a8-2017.cfg
|
||||
CONFIG ../../config/printer-anet-a8-2019.cfg
|
||||
CONFIG ../../config/printer-anet-e10-2018.cfg
|
||||
CONFIG ../../config/printer-anet-e16-2019.cfg
|
||||
CONFIG ../../config/printer-creality-cr10-2017.cfg
|
||||
@@ -116,6 +122,11 @@ CONFIG ../../config/printer-modix-big60-2020.cfg
|
||||
DICTIONARY samd51p20.dict
|
||||
CONFIG ../../config/generic-duet3-mini.cfg
|
||||
|
||||
# Printers using the SAM E70
|
||||
DICTIONARY same70q20b.dict
|
||||
CONFIG ../../config/generic-duet3-6hc.cfg
|
||||
CONFIG ../../config/generic-duet3-6xd.cfg
|
||||
|
||||
# Printers using the lpc176x
|
||||
DICTIONARY lpc176x.dict
|
||||
CONFIG ../../config/generic-azteeg-x5-mini-v3.cfg
|
||||
@@ -144,6 +155,10 @@ CONFIG ../../config/generic-bigtreetech-skr-mini-e3-v2.0.cfg
|
||||
CONFIG ../../config/generic-bigtreetech-skr-mini-mz.cfg
|
||||
CONFIG ../../config/printer-anycubic-vyper-2021.cfg
|
||||
CONFIG ../../config/printer-monoprice-select-mini-v1-2016.cfg
|
||||
CONFIG ../../config/printer-sovol-sv05-2022.cfg
|
||||
CONFIG ../../config/printer-sovol-sv06-2022.cfg
|
||||
CONFIG ../../config/printer-sovol-sv06-plus-2023.cfg
|
||||
CONFIG ../../config/printer-sunlu-t3-2022.cfg
|
||||
|
||||
# Printers using the stm32f103 via serial
|
||||
DICTIONARY stm32f103-serial.dict
|
||||
@@ -161,7 +176,9 @@ CONFIG ../../config/printer-creality-cr6se-2020.cfg
|
||||
CONFIG ../../config/printer-creality-cr6se-2021.cfg
|
||||
CONFIG ../../config/printer-creality-ender2pro-2021.cfg
|
||||
CONFIG ../../config/printer-creality-ender3-s1-2021.cfg
|
||||
CONFIG ../../config/printer-creality-ender3-s1plus-2022.cfg
|
||||
CONFIG ../../config/printer-creality-ender3-v2-2020.cfg
|
||||
CONFIG ../../config/printer-creality-ender3-v2-neo-2022.cfg
|
||||
CONFIG ../../config/printer-creality-ender3max-2021.cfg
|
||||
CONFIG ../../config/printer-creality-ender3pro-2020.cfg
|
||||
CONFIG ../../config/printer-creality-ender5pro-2020.cfg
|
||||
@@ -173,12 +190,22 @@ CONFIG ../../config/printer-eryone-er20-2021.cfg
|
||||
CONFIG ../../config/printer-flsun-q5-2020.cfg
|
||||
CONFIG ../../config/printer-flsun-qqs-2020.cfg
|
||||
CONFIG ../../config/printer-fokoos-odin5-f3-2021.cfg
|
||||
CONFIG ../../config/printer-geeetech-301-2019.cfg
|
||||
CONFIG ../../config/printer-kingroon-kp3s-2020.cfg
|
||||
CONFIG ../../config/printer-longer-lk4x-2022.cfg
|
||||
CONFIG ../../config/printer-tronxy-x5sa-v6-2019.cfg
|
||||
CONFIG ../../config/printer-tronxy-x5sa-pro-2020.cfg
|
||||
CONFIG ../../config/printer-tronxy-xy-2-Pro-2020.cfg
|
||||
CONFIG ../../config/printer-twotrees-sapphire-plus-sp-5-v1-2020.cfg
|
||||
CONFIG ../../config/printer-twotrees-sapphire-plus-sp-5-v1.1-2021.cfg
|
||||
CONFIG ../../config/printer-twotrees-sapphire-pro-sp-3-2020.cfg
|
||||
CONFIG ../../config/printer-voxelab-aquila-2021.cfg
|
||||
|
||||
# Printers using the stm32f401
|
||||
DICTIONARY stm32f401.dict
|
||||
CONFIG ../../config/generic-fysetc-cheetah-v2.0.cfg
|
||||
CONFIG ../../config/printer-artillery-sidewinder-x2-2022.cfg
|
||||
CONFIG ../../config/printer-elegoo-neptune3-pro-2023.cfg
|
||||
|
||||
# Printers using the stm32f405
|
||||
DICTIONARY stm32f405.dict
|
||||
@@ -192,34 +219,64 @@ CONFIG ../../config/generic-bigtreetech-gtr.cfg
|
||||
CONFIG ../../config/generic-bigtreetech-skr-pro.cfg
|
||||
CONFIG ../../config/generic-bigtreetech-skr-2.cfg
|
||||
CONFIG ../../config/generic-flyboard.cfg
|
||||
CONFIG ../../config/generic-I3DBEEZ9.cfg
|
||||
CONFIG ../../config/generic-mellow-fly-cdy-v3.cfg
|
||||
CONFIG ../../config/generic-mellow-super-infinty-hv.cfg
|
||||
CONFIG ../../config/generic-mks-monster8.cfg
|
||||
CONFIG ../../config/generic-mks-robin-nano-v3.cfg
|
||||
CONFIG ../../config/generic-prusa-buddy.cfg
|
||||
CONFIG ../../config/generic-th3d-ezboard-lite-v2.0.cfg
|
||||
CONFIG ../../config/generic-th3d-ezboard-v2.0.cfg
|
||||
CONFIG ../../config/printer-biqu-b1-se-plus-2022.cfg
|
||||
CONFIG ../../config/printer-prusa-mini-plus-2020.cfg
|
||||
|
||||
|
||||
|
||||
# Printers using the stm32f429
|
||||
DICTIONARY stm32f429.dict
|
||||
CONFIG ../../config/generic-bigtreetech-octopus-v1.1.cfg
|
||||
|
||||
# Printers using the stm32f446
|
||||
DICTIONARY stm32f446.dict
|
||||
CONFIG ../../config/generic-bigtreetech-octopus.cfg
|
||||
CONFIG ../../config/generic-bigtreetech-octopus-pro-v1.0.cfg
|
||||
CONFIG ../../config/generic-fysetc-s6.cfg
|
||||
CONFIG ../../config/generic-fysetc-s6-v2.cfg
|
||||
CONFIG ../../config/generic-fysetc-spider.cfg
|
||||
CONFIG ../../config/generic-ldo-leviathan-v1.2.cfg
|
||||
CONFIG ../../config/generic-mks-rumba32-v1.0.cfg
|
||||
CONFIG ../../config/printer-ratrig-v-minion-2021.cfg
|
||||
|
||||
# Printers using the stm32h723
|
||||
DICTIONARY stm32h723.dict
|
||||
CONFIG ../../config/generic-bigtreetech-octopus-max-ez.cfg
|
||||
CONFIG ../../config/generic-bigtreetech-octopus-pro-v1.1.cfg
|
||||
|
||||
# Printers using the stm32h743
|
||||
DICTIONARY stm32h743.dict
|
||||
CONFIG ../../config/printer-biqu-bx-2021.cfg
|
||||
CONFIG ../../config/generic-bigtreetech-skr-3.cfg
|
||||
|
||||
# Printers using the stm32g0b1
|
||||
DICTIONARY stm32g0b1.dict
|
||||
CONFIG ../../config/generic-bigtreetech-manta-m4p.cfg
|
||||
CONFIG ../../config/generic-bigtreetech-manta-m5p.cfg
|
||||
CONFIG ../../config/generic-bigtreetech-manta-m8p-v1.0.cfg
|
||||
CONFIG ../../config/generic-bigtreetech-manta-m8p-v1.1.cfg
|
||||
CONFIG ../../config/generic-bigtreetech-manta-e3ez.cfg
|
||||
CONFIG ../../config/generic-bigtreetech-skr-mini-e3-v3.0.cfg
|
||||
|
||||
# Printers using the rp2040
|
||||
DICTIONARY rp2040.dict
|
||||
CONFIG ../../config/generic-bigtreetech-skr-pico-v1.0.cfg
|
||||
|
||||
# Printers using the hc32f460 with serial on PA3 PA2
|
||||
DICTIONARY hc32f460-serial-PA3PA2.dict
|
||||
CONFIG ../../config/printer-anycubic-kobra-go-2022.cfg
|
||||
CONFIG ../../config/printer-anycubic-kobra-plus-2022.cfg
|
||||
|
||||
# Printers using the hc32f460 with serial on PA7 PA8
|
||||
DICTIONARY hc32f460-serial-PA7PA8.dict
|
||||
CONFIG ../../config/printer-creality-ender2pro-hc32-2022.cfg
|
||||
|
||||
# Printers using the PRU
|
||||
DICTIONARY pru.dict host=linuxprocess.dict
|
||||
CONFIG ../../config/generic-cramps.cfg
|
||||
|
||||
@@ -13,6 +13,12 @@ value: 0
|
||||
shutdown_value: 0
|
||||
cycle_time: 0.01
|
||||
|
||||
[pwm_tool test_pwm_tool]
|
||||
pin: PH4
|
||||
value: 0
|
||||
shutdown_value: 0
|
||||
cycle_time: 0.01
|
||||
|
||||
[mcu]
|
||||
serial: /dev/ttyACM0
|
||||
|
||||
|
||||
@@ -28,3 +28,11 @@ SET_PIN PIN=soft_pwm_pin VALUE=0.5 CYCLE_TIME=0.5
|
||||
SET_PIN PIN=soft_pwm_pin VALUE=0.5 CYCLE_TIME=0.5
|
||||
SET_PIN PIN=soft_pwm_pin VALUE=0.75 CYCLE_TIME=0.5
|
||||
SET_PIN PIN=soft_pwm_pin VALUE=0.75 CYCLE_TIME=0.75
|
||||
|
||||
# PWM tool
|
||||
# Basic test
|
||||
SET_PIN PIN=test_pwm_tool VALUE=0
|
||||
SET_PIN PIN=test_pwm_tool VALUE=0.5
|
||||
SET_PIN PIN=test_pwm_tool VALUE=0.5
|
||||
SET_PIN PIN=test_pwm_tool VALUE=0.25
|
||||
SET_PIN PIN=test_pwm_tool VALUE=1
|
||||
|
||||
@@ -137,6 +137,12 @@ sensor_pin: PF5
|
||||
sensor_type: PT1000
|
||||
sensor_pin: PK1
|
||||
|
||||
[temperature_sensor test_combined]
|
||||
sensor_type: temperature_combined
|
||||
sensor_list: temperature_sensor test_PT1000,extruder,heater_bed
|
||||
combination_method: mean
|
||||
maximum_deviation: 20.0
|
||||
|
||||
[controller_fan test_controller_fan]
|
||||
pin: PH0
|
||||
|
||||
|
||||
@@ -84,6 +84,17 @@ cs_pin: PK1
|
||||
run_current: .5
|
||||
sense_resistor: 0.220
|
||||
|
||||
[stepper_z2]
|
||||
step_pin: PH1
|
||||
dir_pin: PA2
|
||||
enable_pin: !PA3
|
||||
microsteps: 16
|
||||
rotation_distance: 8
|
||||
|
||||
[tmc2240 stepper_z2]
|
||||
cs_pin: PK3
|
||||
run_current: .5
|
||||
|
||||
[mcu]
|
||||
serial: /dev/ttyACM0
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ DUMP_TMC STEPPER=stepper_y
|
||||
DUMP_TMC STEPPER=stepper_y1
|
||||
DUMP_TMC STEPPER=stepper_z
|
||||
DUMP_TMC STEPPER=stepper_z1
|
||||
DUMP_TMC STEPPER=stepper_z2
|
||||
|
||||
; Test INIT_TMC commands
|
||||
INIT_TMC STEPPER=stepper_x
|
||||
@@ -27,6 +28,7 @@ INIT_TMC STEPPER=stepper_y
|
||||
INIT_TMC STEPPER=stepper_y1
|
||||
INIT_TMC STEPPER=stepper_z
|
||||
INIT_TMC STEPPER=stepper_z1
|
||||
INIT_TMC STEPPER=stepper_z2
|
||||
|
||||
; Test SET_TMC_CURRENT commands
|
||||
SET_TMC_CURRENT STEPPER=stepper_x CURRENT=.7
|
||||
@@ -35,6 +37,7 @@ SET_TMC_CURRENT STEPPER=stepper_y CURRENT=.7
|
||||
SET_TMC_CURRENT STEPPER=stepper_y1 CURRENT=.7
|
||||
SET_TMC_CURRENT STEPPER=stepper_z CURRENT=.7
|
||||
SET_TMC_CURRENT STEPPER=stepper_z1 CURRENT=.7
|
||||
SET_TMC_CURRENT STEPPER=stepper_z2 CURRENT=.6
|
||||
|
||||
; Test SET_TMC_FIELD commands
|
||||
SET_TMC_FIELD STEPPER=stepper_x FIELD=intpol VALUE=0
|
||||
@@ -43,3 +46,4 @@ SET_TMC_FIELD STEPPER=stepper_y FIELD=intpol VALUE=0
|
||||
SET_TMC_FIELD STEPPER=stepper_y1 FIELD=intpol VALUE=0
|
||||
SET_TMC_FIELD STEPPER=stepper_z FIELD=intpol VALUE=0
|
||||
SET_TMC_FIELD STEPPER=stepper_z1 FIELD=intpol VALUE=0
|
||||
SET_TMC_FIELD STEPPER=stepper_z2 FIELD=intpol VALUE=0
|
||||
|
||||
Reference in New Issue
Block a user