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

Define CAN interrupt pins #1266

Merged
merged 2 commits into from
Jan 26, 2024
Merged

Define CAN interrupt pins #1266

merged 2 commits into from
Jan 26, 2024

Conversation

dferrarigrowtech
Copy link
Contributor

@dferrarigrowtech dferrarigrowtech commented Jan 18, 2024

Fixes #1264

- What I did
The users can now define CAN interrupt pins that are different from the hard-coded one.

- How I did it
I defined two more CAN variables that let users configure the CAN interrupt pins depending by the module that they used (or by their custom boards). It is similar to CAN_OSCILLATOR. I also added these variables to the documentation

Once this is merged I will cherry-pick this commit to Kirkstone (because I need this change)

Copy link
Owner

@agherzan agherzan left a comment

Choose a reason for hiding this comment

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

Thanks! This looks good content-wise but it lacks adhering to the guidelines in https://meta-raspberrypi.readthedocs.io/en/latest/contributing.html. Could you have a short check on it and refresh this?

Current configuration hard-code the values of the CAN interrupt pins. This setting allows to change them. The default values are the same as before.

Signed-off-by: Damiano Ferrari <[email protected]>
@dferrarigrowtech
Copy link
Contributor Author

Thank you @agherzan. I hope that now it is ok

Copy link
Owner

@agherzan agherzan left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good.

@agherzan agherzan enabled auto-merge (rebase) January 25, 2024 12:04
@agherzan agherzan merged commit 9c901bf into agherzan:master Jan 26, 2024
18 checks passed
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.

Define CAN interrupt pin as a variable
2 participants