aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsam
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/atsam
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/atsam')
-rw-r--r--src/atsam/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/atsam/Kconfig b/src/atsam/Kconfig
index a3d8566d..f9d13c34 100644
--- a/src/atsam/Kconfig
+++ b/src/atsam/Kconfig
@@ -13,6 +13,7 @@ config ATSAM_SELECT
select HAVE_GPIO_BITBANGING
select HAVE_STRICT_TIMING
select HAVE_CHIPID
+ select HAVE_STEPPER_BOTH_EDGE
config BOARD_DIRECTORY
string