diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-03-09 18:18:24 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-03-10 10:27:02 -0400 |
commit | 34d32c782322e18842df6dab308490fd35a1f1f1 (patch) | |
tree | a035e17ab4163c1f5bf6033e34ddea110926dbed /src/Kconfig | |
parent | 9466c2d66cce7290bb73edcd7123d0b3a04a9021 (diff) | |
download | kutter-34d32c782322e18842df6dab308490fd35a1f1f1.tar.gz kutter-34d32c782322e18842df6dab308490fd35a1f1f1.tar.xz kutter-34d32c782322e18842df6dab308490fd35a1f1f1.zip |
stepper: Support an optimized step/unstep function on ARM
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/Kconfig b/src/Kconfig index d8410ef1..a80e1deb 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -76,16 +76,17 @@ config STEP_DELAY help Specify the duration of the stepper step pulse time. This setting applies to all stepper drivers controlled by the - micro-controller. If this value is set to zero then the code - will "step" and "unstep" in the same C function. + micro-controller. If this value is set to zero (or less) then + the code will "step" and "unstep" in the same C function. - The default is zero for 8-bit AVR based micro-controllers, as - it takes a little over 2us to step and unstep with this - setting. + A setting of zero (or less) on 8-bit AVR micro-controllers + results in a minimum step pulse time a little over 2us. - The default for all other micro-controllers is 2us. + A setting of zero on ARM micro-controllers typically results + in a minimum step pulse time of 20 cpu cycles. - CUSTOMIZING THIS VALUE DOES NOT IMPROVE PERFORMANCE! + The default for AVR is -1, for all other micro-controllers it + is 2us. # The HAVE_GPIO_x options allow boards to disable support for some # commands if the hardware does not support the feature. |