Thanks - I've just pulled in the localModules stuff (it's modules because that's what the Web IDE uses for local projects, so it's a bit more compatible).
For the serial stuff, it will work on all Espruino boards via USB - that kind of detection is really handy, but in reality it stops you using Espruino via a USB-TTL converter (eg for ESP8266, or even normal Espruino boards where you're not using USB), or even via bluetooth.
What'd be better is if all the serial modules could report back the path, but also a boolean saying whether they're sure that it's an Espruino.
Then, if you didn't specify a port it could scan all ports, and if it was sure that one of those was Espruino, it'd just choose it.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks - I've just pulled in the localModules stuff (it's
modules
because that's what the Web IDE uses for local projects, so it's a bit more compatible).For the serial stuff, it will work on all Espruino boards via USB - that kind of detection is really handy, but in reality it stops you using Espruino via a USB-TTL converter (eg for ESP8266, or even normal Espruino boards where you're not using USB), or even via bluetooth.
What'd be better is if all the serial modules could report back the path, but also a boolean saying whether they're sure that it's an Espruino.
Then, if you didn't specify a port it could scan all ports, and if it was sure that one of those was Espruino, it'd just choose it.