Skip to content
Commit 832810e6 authored by Luis Ubieda's avatar Luis Ubieda Committed by Benjamin Cabé
Browse files

spi: shell: Add command to include CS GPIO in SPI device



This allows to configure a GPIO pin as a CS line, in order to perform
spi transfers to a particular device in the bus.

Example usage for using GPIO1.12 with GPIO_ACTIVE_LOW:
`spi cs gpio1 12 0x01`

Signed-off-by: default avatarLuis Ubieda <luisf@croxel.com>
parent 2924a99c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment