Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: stepper: refactor common registers to tmc5xxx #81484

Merged

Conversation

jilaypandya
Copy link
Contributor

@jilaypandya jilaypandya commented Nov 17, 2024

This PR refactors common register values to tmc5xxx.
This PR facilitates #80784 .

This commit generalizes macros which are common to tmc5xxx drivers

Signed-off-by: Jilay Pandya <[email protected]>
This commit refactors tmc5041 driver to use tmc5xxx generalized macros

Signed-off-by: Jilay Pandya <[email protected]>
@fabiobaltieri fabiobaltieri added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Nov 18, 2024
Copy link
Collaborator

@bjarki-andreasen bjarki-andreasen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have preferred this being one commit, since seemingly the first commit is incompatible with the driver, which is then adapted in the second commit :)

@nashif nashif merged commit 6098b2f into zephyrproject-rtos:main Nov 19, 2024
25 checks passed
@jilaypandya jilaypandya deleted the feature/tmc5xxx-common-macros branch November 19, 2024 15:23
@jilaypandya
Copy link
Contributor Author

I would have preferred this being one commit, since seemingly the first commit is incompatible with the driver, which is then adapted in the second commit :)

That's correct. Thanks for pointing it out. I'll keep this in mind next time :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Stepper Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants