This commit is contained in:
Morgan Allen 2018-07-28 14:30:48 -07:00
parent e9acc2081c
commit e6ef815314

View file

@ -4,7 +4,7 @@ var SerialPort = require("serialport");
var path = require("path"); var path = require("path");
var test = require("tape"); var test = require("tape");
const exec = path.require(process.env.IDF_PATH, "components", "esptool_py", "esptool", "esptool.py"); const exec = path.join(process.env.IDF_PATH, "components", "esptool_py", "esptool", "esptool.py");
const portString = "/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_SERIAL_ID-if00-port0"; const portString = "/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_SERIAL_ID-if00-port0";
const buildPath = path.join(__dirname, "lora32", "build"); const buildPath = path.join(__dirname, "lora32", "build");