Hello
when i follow your steps in
https://learn.sparkfun.com/tutorials/sp … an-gateway
doing the upload i got a
Arduino: 1.8.10 (Linux), Board: "SparkFun LoRa Gateway 1-Channel, Default, QIO, 80MHz, 4MB (32Mb), 921600"
WARNING: library ESP32WebServer claims to run on ESP32 architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
Sketch uses 892833 bytes (68%) of program storage space. Maximum is 1310720 bytes.
Global variables use 46740 bytes (15%) of dynamic memory, leaving 248172 bytes for local variables. Maximum is 294912 bytes.
esptool.py v3.0-dev
Traceback (most recent call last):
Serial port /dev/ttyUSB0
An error occurred while uploading the sketch
File "/home/pi/.arduino15/packages/esp32/tools/esptool_py/3.0.0/esptool.py", line 3682, in <module>
_main()
File "/home/pi/.arduino15/packages/esp32/tools/esptool_py/3.0.0/esptool.py", line 3675, in _main
main()
File "/home/pi/.arduino15/packages/esp32/tools/esptool_py/3.0.0/esptool.py", line 3329, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/home/pi/.arduino15/packages/esp32/tools/esptool_py/3.0.0/esptool.py", line 263, in __init__
self._port = serial.serial_for_url(port)
File "/usr/lib/python2.7/dist-packages/serial/__init__.py", line 88, in serial_for_url
instance.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
also the IDE allways which to update the added library too