I tracked this down to versionChecker.js in the EspruinoTools code. This checks for firmware version but also that env.CONSOLE is one of USB, Bluetooth or Telnet.
In my case env.CONSOLE is equal to Serial1. If I hack this in as an option I get fast writes -- whoop!
Just wondering if this is deliberate or a bug/missing feature of EspruinoTools. I saw a comment somewhere that comms over serial has no flow control, but this is virtual serial over USB to the ESP32 and not sure if same applies.
I'm going to leave my hack in for a while and see if there are any issues. It makes a big difference to speed of dev cycle when using espruino --watch.
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.
I tracked this down to
versionChecker.js
in the EspruinoTools code. This checks for firmware version but also thatenv.CONSOLE
is one ofUSB
,Bluetooth
orTelnet
.In my case
env.CONSOLE
is equal toSerial1
. If I hack this in as an option I get fast writes -- whoop!Just wondering if this is deliberate or a bug/missing feature of EspruinoTools. I saw a comment somewhere that comms over serial has no flow control, but this is virtual serial over USB to the ESP32 and not sure if same applies.
I'm going to leave my hack in for a while and see if there are any issues. It makes a big difference to speed of dev cycle when using
espruino --watch
.Thanks