aboutsummaryrefslogtreecommitdiffstats
path: root/src/Kconfig
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-10-28 17:10:10 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-11-04 12:06:27 -0400
commit689231df3a6c1ed606d227cce7115703b153193b (patch)
tree28c550dfb5d9140403ee3b5b13e081d8906ad873 /src/Kconfig
parent4acfd8d7c8973f6cc7b8a3eaa8ea9e82a92b018b (diff)
downloadkutter-689231df3a6c1ed606d227cce7115703b153193b.tar.gz
kutter-689231df3a6c1ed606d227cce7115703b153193b.tar.xz
kutter-689231df3a6c1ed606d227cce7115703b153193b.zip
stepper: Add support for stepping on both edges of a step pulse
Add an optimized step function for drivers that support stepping on both rising and falling edges of the step pin. Enable this optimization on 32bit ARM micro-controllers. Automatically detect this capability in the host code and enable on TMC drivers running in SPI/UART mode. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 43ab2bc6..e36094e6 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -108,6 +108,9 @@ config HAVE_STRICT_TIMING
config HAVE_CHIPID
bool
default n
+config HAVE_STEPPER_BOTH_EDGE
+ bool
+ default n
config INLINE_STEPPER_HACK
# Enables gcc to inline stepper_event() into the main timer irq handler