flashprog.8: document new serprog cs parameter
Change-Id: Iacf3b26fbacb928d5f1b69427eabe9edc8cdcb24
Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/88
Tested-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Nico Huber <nico.h@gmx.de>
diff --git a/flashprog.8.tmpl b/flashprog.8.tmpl
index 826da48..e17fca4 100644
--- a/flashprog.8.tmpl
+++ b/flashprog.8.tmpl
@@ -909,6 +909,12 @@
.sp
.B " flashprog \-p serprog:dev=/dev/device:baud,spispeed=2M"
.sp
+In case the device supports it, you can set which SPI Chip Select to use with the optional
+.B cs
+parameter. Example that tells the programmer to use chip select number 0:
+.sp
+.B " flashprog \-p serprog:dev=/dev/ttyACM0:cs=0"
+.sp
More information about serprog is available in
.B serprog-protocol.txt
in the source distribution.