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: shell: rework command to use SPI devices #73962

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 10, 2024

  1. spi: shell: rework command to use SPI devices

    Rework the shell interface to work on SPI devices. This will create a
    build-time list of all spi device nodes based on the devicetree.
    
    At runtime, the shell will autocomplete device names and use
    spi_transceive_dt() to leverage the devicetree configuration of each
    node. This removes the need for a conf command, and will ensure that all
    chip select modes are properly supported (i.e. cs-gpios).
    
    Signed-off-by: Liam Beguin <[email protected]>
    liambeguin committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    af5a532 View commit details
    Browse the repository at this point in the history