I am fairly new to Arduino so there may be a simple answer to this.
I am connecting a Nano 33 BLE to a PC via USB for build / upload / debug etc, and it shows up on COM7.
However, frequently when I do a compile and upload, at the end of the upload, the COM port switches to COM8 all on its own. The serial monitor then won't work.
It is a simple enough matter to change it back to COM7 (the COM port selection recognises that is where the Arduino is), but it is irritating as it keeps happening (not all the time). There is a COM8 with a USB driver on it that gets used for something else (not currently plugged in), and presumably the IDE is getting confused.
Is there any way to say in the IDE setup "use COM7 and don't change it"?