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

Add SUBGHZSPI support to SPI library. #1839

Merged
merged 5 commits into from Dec 21, 2022
Merged

Commits on Dec 20, 2022

  1. ci(stm32variant): add SUBGHZSPI support

    Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
    fpistm authored and matthijskooijman committed Dec 20, 2022
    Copy the full SHA
    295cec2 View commit details
    Browse the repository at this point in the history
  2. variant(WL): update with SUBGHZSPI debug pins

    Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
    fpistm authored and matthijskooijman committed Dec 20, 2022
    Copy the full SHA
    37757fa View commit details
    Browse the repository at this point in the history
  3. feat: add the STM32WL SUBGHZSPI to the SPI library

    Signed-off-by: Peter Lawrence <12226419+majbthrd@users.noreply.github.com>
    Co-authored-by: Frederic Pillon <frederic.pillon@st.com>
    2 people authored and matthijskooijman committed Dec 20, 2022
    Copy the full SHA
    aab7d10 View commit details
    Browse the repository at this point in the history
  4. feat(SPI): Make SPISettings constructors constexpr

    This turns SPISettings into a "literal type" and allows variables using
    it to be constexpr to guarantee the constructor is executed at
    compiletime. This requires (with C++11) that all variables are set using
    initializers instead of assignments and that the regular if cascade is
    replaced by a ternary if. It also requires explicit initializers for all
    values (omitted variables were previously initialized to zero anyway).
    matthijskooijman committed Dec 20, 2022
    Copy the full SHA
    cf79dc6 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. feat: Add SubGhz library to access SubGhz module

    This allows accessing some of the signals internally connected to the
    SubGhz radio (that would have been GPIO signals if the radio was
    external). This also allocates and exposes the SPI object connected to
    the SubGhz radio block and handles attaching handlers to the radio
    interrupt.
    
    Note that the DIO signals are *not* exposed, since there is no way to
    read them directly (and indirectly reading them through the IRQ pending
    flag does not work in all cases).
    matthijskooijman committed Dec 21, 2022
    Copy the full SHA
    b192b02 View commit details
    Browse the repository at this point in the history