Maybe you could strip this down to just one or two functions that exhibit the problem? And also check that is happens on one of our builds - preferably on one of our boards like the Pico.
If it says WARNING: If specifying an object, it must be of the form {data : ..., count : N}
my guess somehow an object is getting passed into one of the functions (like write?)
But actually my guess is you're building with an out of date firmware, and building for ESP8266 - I saw a regression that looked a bit like this yesterday and fixed it, and you might not have updated since then?
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.
Maybe you could strip this down to just one or two functions that exhibit the problem? And also check that is happens on one of our builds - preferably on one of our boards like the Pico.
If it says
WARNING: If specifying an object, it must be of the form {data : ..., count : N}
my guess somehow an object is getting passed into one of the functions (like write?)But actually my guess is you're building with an out of date firmware, and building for ESP8266 - I saw a regression that looked a bit like this yesterday and fixed it, and you might not have updated since then?