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

Allow for inverted SPI CS logic #23699

Merged
merged 6 commits into from
Sep 9, 2024
Merged

Conversation

daskygit
Copy link
Member

@daskygit daskygit commented May 11, 2024

Description

Tested on AVR and RP2040.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@daskygit daskygit changed the base branch from master to develop May 11, 2024 15:44
@github-actions github-actions bot added core keyboard keymap documentation translation via Adds via keymap and/or updates keyboard for via support CI dd Data Driven Changes labels May 11, 2024
@daskygit daskygit removed keyboard keymap documentation translation via Adds via keymap and/or updates keyboard for via support CI dd Data Driven Changes labels May 11, 2024
platforms/avr/drivers/spi_master.c Outdated Show resolved Hide resolved
platforms/avr/drivers/spi_master.h Outdated Show resolved Hide resolved
platforms/avr/drivers/spi_master.h Outdated Show resolved Hide resolved
platforms/chibios/drivers/spi_master.h Outdated Show resolved Hide resolved
@elpekenin elpekenin mentioned this pull request Jun 19, 2024
14 tasks
@daskygit daskygit requested a review from sigprof June 20, 2024 11:21
@daskygit daskygit marked this pull request as ready for review June 20, 2024 11:21
@daskygit daskygit requested a review from a team June 20, 2024 11:22
@drashna drashna requested a review from a team June 20, 2024 23:10
@daskygit daskygit force-pushed the pr/spi_cs_inversion branch from d48d812 to e0167e8 Compare July 27, 2024 11:19
@tzarc tzarc added the develop-fast-track Intended to be merged early in the next develop cycle. label Aug 12, 2024
@daskygit daskygit force-pushed the pr/spi_cs_inversion branch from e0167e8 to a95fc3c Compare September 9, 2024 12:10
Copy link
Member

@KarlK90 KarlK90 left a comment

Choose a reason for hiding this comment

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

Thanks for the refactor and enhancement. If you could just rename the variables I'll happily approve :-)

platforms/avr/drivers/spi_master.c Outdated Show resolved Hide resolved
platforms/avr/drivers/spi_master.h Outdated Show resolved Hide resolved
platforms/chibios/drivers/spi_master.c Outdated Show resolved Hide resolved
platforms/chibios/drivers/spi_master.h Outdated Show resolved Hide resolved
@daskygit daskygit requested a review from KarlK90 September 9, 2024 21:24
@daskygit
Copy link
Member Author

daskygit commented Sep 9, 2024

I was tempted to rename a few other variables to snake_case but should probably be another PR.

@tzarc tzarc merged commit 2c7bf34 into qmk:develop Sep 9, 2024
4 checks passed
@daskygit daskygit deleted the pr/spi_cs_inversion branch September 9, 2024 23:59
itsme-zeix pushed a commit to itsme-zeix/qmk_firmware that referenced this pull request Oct 2, 2024
ilham-agustiawan pushed a commit to ilham-agustiawan/qmk_firmware that referenced this pull request Nov 30, 2024
smallketchup82 pushed a commit to smallketchup82/qmk_firmware that referenced this pull request Dec 1, 2024
jlaptavi pushed a commit to jlaptavi/qmk_firmware that referenced this pull request Dec 3, 2024
DmNosachev pushed a commit to DmNosachev/qmk_firmware that referenced this pull request Dec 7, 2024
SyrupSplashin pushed a commit to SyrupSplashin/qmk_firmware that referenced this pull request Dec 10, 2024
LeonMusCoden pushed a commit to LeonMusCoden/qmk_firmware that referenced this pull request Jan 5, 2025
MichaelScofield45 pushed a commit to MichaelScofield45/qmk_firmware that referenced this pull request Jan 8, 2025
pashashocky pushed a commit to pashashocky/qmk that referenced this pull request Jan 17, 2025
Rumadon pushed a commit to Rumadon/qmk_firmware that referenced this pull request Jan 31, 2025
MaximumP pushed a commit to MaximumP/qmk_firmware that referenced this pull request Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core develop-fast-track Intended to be merged early in the next develop cycle.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants