Add COM3 for windows tests
This commit is contained in:
parent
acb9846015
commit
63e081afe4
|
@ -18,7 +18,8 @@ mcopy.arduino = {
|
||||||
'/dev/tty.usbmodem1a131',
|
'/dev/tty.usbmodem1a131',
|
||||||
'/dev/tty.usbserial-a900f6de',
|
'/dev/tty.usbserial-a900f6de',
|
||||||
'/dev/tty.usbmodem1a141',
|
'/dev/tty.usbmodem1a141',
|
||||||
'/dev/ttyACM0'
|
'/dev/ttyACM0',
|
||||||
|
'COM3'
|
||||||
],
|
],
|
||||||
alias : {
|
alias : {
|
||||||
|
|
||||||
|
@ -38,6 +39,7 @@ mcopy.arduino = {
|
||||||
mcopy.arduino.enumerate = function (callback) {
|
mcopy.arduino.enumerate = function (callback) {
|
||||||
let matches = []
|
let matches = []
|
||||||
SerialPort.list((err, ports) => {
|
SerialPort.list((err, ports) => {
|
||||||
|
//console.dir(ports)
|
||||||
ports.forEach(port => {
|
ports.forEach(port => {
|
||||||
if (mcopy.arduino.known.indexOf(port.comName) !== -1) {
|
if (mcopy.arduino.known.indexOf(port.comName) !== -1) {
|
||||||
matches.push(port.comName)
|
matches.push(port.comName)
|
||||||
|
|
Loading…
Reference in New Issue