Wow, ok - sorry everyone (especially @MaBe for thinking this was just ESP8266 specific).
Thanks @Frida for pointing this out - it's the jsvConfigObject - we define stopbits/etc as JSV_INTEGER, which assumes 32 bits - so the code that scans the serial initialisation object writes past where it should.
I'll commit a fix for this in the next hour or so - and I'll check out the other config object uses in case there are other similar issues elsewhere.
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.
Wow, ok - sorry everyone (especially @MaBe for thinking this was just ESP8266 specific).
Thanks @Frida for pointing this out - it's the
jsvConfigObject
- we define stopbits/etc as JSV_INTEGER, which assumes 32 bits - so the code that scans the serial initialisation object writes past where it should.I'll commit a fix for this in the next hour or so - and I'll check out the other config object uses in case there are other similar issues elsewhere.