Skip to content
Commit b394664d authored by Nerijus Bendžiūnas's avatar Nerijus Bendžiūnas Committed by Carles Cufí
Browse files

spi: shell: add simple SPI shell



Inspired by I2C shell. Useful during
SPI device driver development or for debugging.

Usage example (read JEDEC ID):

```
uart:~$ spi conf spi4 1000000 oh
uart:~$ spi transceive 9f 00 00 00
TX:
00000000: 9f 00 00 00                                 |....             |
RX:
00000000: 00 ef 40 19                                 |....             |
```

Signed-off-by: default avatarNerijus Bendžiūnas <nerijus.bendziunas@astrolightspace.com>
parent 0e617a39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment