ch347_spi: Add CH347F ID and loop over the entries
Tested with CH347T in mode 1 and CH347F.
Change-Id: I2f8246521b359c5cf574b952b32bee603abcc800
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/198
Reviewed-by: Nicholas Chin <nic.c3.14@gmail.com>
diff --git a/util/z60_flashprog.rules b/util/z60_flashprog.rules
index 3efad57..a0304d0 100644
--- a/util/z60_flashprog.rules
+++ b/util/z60_flashprog.rules
@@ -93,7 +93,8 @@
# Winchiphead (WCH) CH341a based programmer
ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="5512", MODE="664", GROUP="plugdev"
-# Winchiphead (WCH) CH347 based programmer
+# Winchiphead (WCH) CH347T/F based programmers
ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="55db", MODE="664", GROUP="plugdev"
+ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="55de", MODE="664", GROUP="plugdev"
LABEL="flashprog_rules_end"