aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsam
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2025-03-09 20:08:49 -0400
committerKevin O'Connor <kevin@koconnor.net>2025-03-20 19:56:55 -0400
commit8faed8d9fe113e0b7dc306d08c36986150550ca8 (patch)
treed89f581a84650597ba92bcd84c46c1b5c9c37e47 /src/atsam
parent272e815522b0bc8e0806e052b73a5cc1af979cd7 (diff)
downloadkutter-8faed8d9fe113e0b7dc306d08c36986150550ca8.tar.gz
kutter-8faed8d9fe113e0b7dc306d08c36986150550ca8.tar.xz
kutter-8faed8d9fe113e0b7dc306d08c36986150550ca8.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'src/atsam')
-rw-r--r--src/atsam/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atsam/Kconfig b/src/atsam/Kconfig
index 4c20c244..6447874e 100644
--- a/src/atsam/Kconfig
+++ b/src/atsam/Kconfig
@@ -12,7 +12,7 @@ config ATSAM_SELECT
select HAVE_GPIO_HARD_PWM if !MACH_SAME70
select HAVE_STRICT_TIMING
select HAVE_CHIPID
- select HAVE_STEPPER_BOTH_EDGE
+ select HAVE_STEPPER_OPTIMIZED_BOTH_EDGE
select HAVE_BOOTLOADER_REQUEST
config BOARD_DIRECTORY