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

Expectation driven SPI test helper (RFC) #742

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

jmhobbs
Copy link

@jmhobbs jmhobbs commented Feb 18, 2025

This is my WAG at an SPI test helper after I wrote #738

It's based on ordered Tx expecations. I also had to make a partial Pin interface as input to my MAX6675, I'm not sure how to finish that out in a meaningful way without machine. I'm not sure if the chip select pin should be part of the test helper or an independent concern.

I'll leave this here as a discussion point, but happy to adjust or expand this as well as try my hand and testing some of the other SPI based drivers to get a feel for the API here.

@jmhobbs jmhobbs changed the title Expectation driven SPI test helper Expectation driven SPI test helper (RFC) Feb 18, 2025
@deadprogram
Copy link
Member

Very cool, I will take a look!

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