-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
5032f09
commit 4c06a04
Showing
1 changed file
with
47 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters