tmc: Implement coolstep_threshold for drivers that support it

Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
This commit is contained in:
Alex Voinea
2024-05-14 22:21:58 +02:00
committed by KevinOConnor
parent 0f3f29101c
commit 5249d955bb
6 changed files with 50 additions and 0 deletions

View File

@@ -297,6 +297,7 @@ class TMC2130:
# Setup basic register values
tmc.TMCWaveTableHelper(config, self.mcu_tmc)
tmc.TMCStealthchopHelper(config, self.mcu_tmc)
tmc.TMCVcoolthrsHelper(config, self.mcu_tmc)
# Allow other registers to be set from the config
set_config_field = self.fields.set_config_field
# CHOPCONF