Skip to content

Commit 044ff11

Browse files
author
jantje
committed
On MAC: Added UART as possible identification of board
1 parent aaa0109 commit 044ff11

File tree

1 file changed

+1
-1
lines changed
  • it.baeyens.arduino.common/src/it/baeyens/arduino/arduino

1 file changed

+1
-1
lines changed

it.baeyens.arduino.common/src/it/baeyens/arduino/arduino/Serial.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public static Vector<String> list() {
128128
String[] portNames;
129129
String os = System.getProperty("os.name").toLowerCase(); //$NON-NLS-1$
130130
if (os.indexOf("mac") >= 0) { //$NON-NLS-1$
131-
portNames = SerialPortList.getPortNames("/dev/", Pattern.compile("^cu\\..*(serial|usb).*")); //$NON-NLS-1$ //$NON-NLS-2$
131+
portNames = SerialPortList.getPortNames("/dev/", Pattern.compile("^cu\\..*(UART|serial|usb).*")); //$NON-NLS-1$ //$NON-NLS-2$
132132
} else {
133133
portNames = SerialPortList.getPortNames();
134134
}

0 commit comments

Comments
 (0)