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

[spi]: Keep constexpr constructor #2204

Merged
merged 8 commits into from
Nov 24, 2023
Merged

[spi]: Keep constexpr constructor #2204

merged 8 commits into from
Nov 24, 2023

Commits on Nov 24, 2023

  1. Revert "chore(SPI): align with ArduinoCoreAPI"

    This reverts commit 392469a.
    fpistm committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    8e8feb0 View commit details
    Browse the repository at this point in the history
  2. Revert "fix(SubGhz): SPISettings not properly defined"

    This reverts commit d61ad83.
    fpistm committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    c9a89f1 View commit details
    Browse the repository at this point in the history
  3. chore(spi): partially align with ArduinoCoreAPI

    Keep constexpr constructor to ensures that constructing
    an SPISettings object can be done at compiletime.
    
    Fixes stm32duino#2201.
    
    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    ea70e88 View commit details
    Browse the repository at this point in the history
  4. feat(spi): remove skip receive from SPISettings

    This parameter should not be part of SPISettings.
    
    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    c1b1d61 View commit details
    Browse the repository at this point in the history
  5. chore(subghzspi): clean up useless declaration

    Since internal CS pin removed.
    
    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    98fca7d View commit details
    Browse the repository at this point in the history
  6. feat(spi): allow to skip receive during transfer

    Linked to stm32duino#912.
    
    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    aa5abaa View commit details
    Browse the repository at this point in the history
  7. doc(spi): update README.md

    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    8a01b92 View commit details
    Browse the repository at this point in the history
  8. feat(spi): add SPISettings constructor with uint8_t

    for backward compatibility.
    Example with Adafruit GFX Library library.
    
    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    e781dc7 View commit details
    Browse the repository at this point in the history