diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-10-27 19:10:36 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-11-04 12:06:27 -0400 |
commit | 4acfd8d7c8973f6cc7b8a3eaa8ea9e82a92b018b (patch) | |
tree | 8e9e494c4fe21f2a96010ed23962e5efa6696af4 /docs | |
parent | 913d099261399ba737b35752f3c3be6da618bb6a (diff) | |
download | kutter-4acfd8d7c8973f6cc7b8a3eaa8ea9e82a92b018b.tar.gz kutter-4acfd8d7c8973f6cc7b8a3eaa8ea9e82a92b018b.tar.xz kutter-4acfd8d7c8973f6cc7b8a3eaa8ea9e82a92b018b.zip |
stepper: Make step pulse duration customizable at run-time
Remove the STEP_DELAY Kconfig option and replace it with a per-stepper
step_pulse_duration printer.cfg config option.
The AVR code will continue to have optimized code to step and "unstep"
in the same function (which is automatically activated when the step
delay is 40 ticks or less). This change removes the Kconfig option
for single function step/unstep on 32bit processors.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Config_Changes.md | 5 | ||||
-rw-r--r-- | docs/Config_Reference.md | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md index dc054b48..828094b0 100644 --- a/docs/Config_Changes.md +++ b/docs/Config_Changes.md @@ -8,6 +8,11 @@ All dates in this document are approximate. ## Changes +20211104: The "step pulse duration" option in "make menuconfig" has +been removed. A new `step_pulse_duration` setting in the +[stepper config section](Config_Reference.md#stepper) should be set +for all steppers that need a custom pulse duration. + 20211102: Several deprecated features have been removed. The stepper `step_distance` option has been removed (deprecated on 20201222). The `rpi_temperature` sensor alias has been removed (deprecated on diff --git a/docs/Config_Reference.md b/docs/Config_Reference.md index 880a419b..2539def7 100644 --- a/docs/Config_Reference.md +++ b/docs/Config_Reference.md @@ -153,6 +153,11 @@ microsteps: # gear_ratio is specified then rotation_distance specifies the # distance the axis travels for one full rotation of the final gear. # The default is to not use a gear ratio. +#step_pulse_duration: +# The minimum time between the step pulse signal edge and the +# following "unstep" signal edge. This is also used to set the +# minimum time between a step pulse and a direction change signal. +# The default is 0.000002 (which is 2us). endstop_pin: # Endstop switch detection pin. If this endstop pin is on a # different mcu than the stepper motor then it enables "multi-mcu |