-
Notifications
You must be signed in to change notification settings - Fork 182
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
SCK, MISO, MOSI #340
SCK, MISO, MOSI #340
Conversation
Also we could add advanced trait pub trait SpiExt<SPI> {}
impl<SPI, REMAP, PINS> SpiExt<SPI> for Spi<SPI, REMAP, PINS, u8>
where
REMAP: Remap<Periph = SPI>,
PINS: Pins<REMAP>,
{
} that would let write just fn setup() -> (impl SpiExt<SPI1>, PA4<Output<PushPull>>) { But this is rare needed case. |
I'm fine with removing the free order agrument. |
FWIW, the PR is working (using |
bors r=TeXitoi |
🔒 Permission denied Existing reviewers: click here to make burrbull a reviewer |
bors r+ |
Configuration problem: |
I think there is no bors here. |
Do you have permissions for manual merge? |
Yes, that's a long time I didn't to it here. rebase and merge? |
Looks more like squash and merge here. |
Just merge. Could we add bors? |
I have nothing against that. @TheZoq2 ? |
Looks like I'm late, but I have nothing against that. I'll have to learn how to use it, but that should be no problem :) Re: merge/rebase/squash, I like to keep a linear history so I tend to squash PRs with small changes and many random commits, and rebase the rest. |
Use only this sequence.
Related to #339.
Need decision. What we need more? Possibility to pass pins in custom sequence or more simple API.
cc @TheZoq2 @therealprof @TeXitoi @adamgreig @thalesfragoso