Skip to content

Conversation

@jilaypandya
Copy link
Member

@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
Contributor

@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
Member 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