From 8faed8d9fe113e0b7dc306d08c36986150550ca8 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 9 Mar 2025 20:08:49 -0400 Subject: stepper: Support step on both edges with custom minimum pulse duration Add support for "step on both edges" to the main stepper_event_full() code. This makes that mode of operation available even when the micro-controller is not compiled for "optimized step on both edges". It also enables the custom pulse duration support (step_pulse_ticks) when in "step on both edges" mode. Signed-off-by: Kevin O'Connor --- src/rp2040/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rp2040') diff --git a/src/rp2040/Kconfig b/src/rp2040/Kconfig index 5ec7c918..97c31b85 100644 --- a/src/rp2040/Kconfig +++ b/src/rp2040/Kconfig @@ -12,7 +12,7 @@ config RPXXXX_SELECT select HAVE_STRICT_TIMING select HAVE_CHIPID select HAVE_GPIO_HARD_PWM - select HAVE_STEPPER_BOTH_EDGE + select HAVE_STEPPER_OPTIMIZED_BOTH_EDGE select HAVE_BOOTLOADER_REQUEST config BOARD_DIRECTORY -- cgit v1.2.3-70-g09d2