From 689231df3a6c1ed606d227cce7115703b153193b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 28 Oct 2021 17:10:10 -0400 Subject: 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 --- src/Kconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Kconfig') 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 -- cgit v1.2.3-70-g09d2