Skip to content

Conversation

@jilaypandya
Copy link
Owner

@jilaypandya jilaypandya commented May 14, 2025

test

rename stepper-controller.yaml to stepper.yaml

Signed-off-by: Jilay Pandya <[email protected]>
@jilaypandya jilaypandya force-pushed the refactor/stepper_api_motion_control_driver branch 3 times, most recently from c04d44a to 5e35efd Compare May 15, 2025 06:13
Currently Stepper Driver API combines two different motion control and the
actual stepping of a motor behind a single API. However, these are two
different areas and hence need to be seperated considering that there
motion controllers out there which just do motion control and interface
via step/dir with a step/dir driver

Signed-off-by: Jilay Pandya <[email protected]>
@jilaypandya jilaypandya force-pushed the refactor/stepper_api_motion_control_driver branch 6 times, most recently from a8f3ef3 to 4306e99 Compare May 15, 2025 21:27
This commit integrates timing source from by refactoring it out from
step_dir lib
Refactor motion control related function from gpio_stepper_controller to
zephyr stepper control driver

Remove unnecessary `data` parameter from `STEP_DIR_STEPPER_STRUCT_CHECK`
macro, simplifying its usage. Adjust `tmc22xx_data` struct and
initialization to reflect the change, removing redundant `.common` field.

Correct the GPIO pin states for enabling and disabling the stepper motor
controller. The enable logic was accidentally inverted, causing improper
activation and deactivation of the device.
This change ensures proper functionality as per the intended design.

Signed-off-by: Andre Stefanov <[email protected]>
Signed-off-by: Jilay Pandya <[email protected]>
refactor tmc50xx stepper driver into tmc50xx_stepper_driver and
tmc50xx_stepper_control

Signed-off-by: Jilay Pandya <[email protected]>
@jilaypandya jilaypandya force-pushed the refactor/stepper_api_motion_control_driver branch from edfd048 to 7f0143f Compare May 15, 2025 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants