We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e10952c commit a5d8adaCopy full SHA for a5d8ada
1 file changed
main.cpp
@@ -8841,6 +8841,11 @@ int main(int argc, char **argv) {
8841
// again is to assume it has the same serial number.
8842
settings.address = -1;
8843
settings.bus = -1;
8844
+ // also skip vid/pid filtering, as that will typically change in BOOTSEL mode
8845
+ settings.pid = -1;
8846
+ // still filter for rpi vid/pid if we don't have a serial number, as that is an RP2040 running a no_flash binary, so will
8847
+ // have a standard rpi vid/pid in BOOTSEL mode
8848
+ settings.vid = settings.ser.empty() ? -1 : 0; // 0 means skip vid/pid filtering entirely, -1 means filter for rpi vid/pid
8849
continue;
8850
}
8851
0 commit comments