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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user