How does the IDE detect new network ports?
Posted: Fri Apr 17, 2020 11:09 am
I have been playing around with OTA updates. I have successfully configured a NodeMCU and an ESP-01 (one of the ones with 1M of flash) for OTA and performed updates from my Linux laptop where I do my ESP8266 development. The network port on the NodeMCU was recognised immediately. It was a bit of a faff getting the ESP-01 working and I don't actually understand why it is now working when it wasn't before but it is.
However, I'd like to use my Chromebook to develop for the ESP8266. Chrome OS does support the CH340 serial chip but there is no Arduino IDE for Chrome OS. Chrome OS does also run Linux in a container so I can run the IDE from there but the container does not have access to the serial port so it occurred to me that perhaps I could upload sketches to a network port. Unfortunately, when I run the IDE in a Linux container it does not recognise the network ports hence my question.
How does the IDE detect new ports? It can see the two OTA devices when I run the IDE on my Linux laptop but not when I run it on Chrome OS in a Linux container when it does not recognise any ports at all. Is there something I can do to prompt the Arduino IDE to search for OTA ports?
However, I'd like to use my Chromebook to develop for the ESP8266. Chrome OS does support the CH340 serial chip but there is no Arduino IDE for Chrome OS. Chrome OS does also run Linux in a container so I can run the IDE from there but the container does not have access to the serial port so it occurred to me that perhaps I could upload sketches to a network port. Unfortunately, when I run the IDE in a Linux container it does not recognise the network ports hence my question.
How does the IDE detect new ports? It can see the two OTA devices when I run the IDE on my Linux laptop but not when I run it on Chrome OS in a Linux container when it does not recognise any ports at all. Is there something I can do to prompt the Arduino IDE to search for OTA ports?