nRF52: Don't allow NRF.updateServices while a BLE restart for setServices is queued
nRF5x: Don't sleep immediately if we received any events since last sleep (#1572)
Improve handling of timeouts for RAK8212 GPS
STM32: Fix issue where occasionally STM32 would be ~0.2s late waking from light sleep
Fix index in E.mapInPlace and improve docs
Removals
Unfortunately the vector font has now had to be removed from the Espruino Original WIZnet build due to lack of spare flash memory, however the non-WIZnet build still contains everything.
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.
It's time for a release again (it's been a while since the last one, so this is pretty big).
2v02 is available from http://www.espruino.com/Download or from the Web IDE if you've got an official board.
Note: Where there's a hashed number in brackets after a bug it refers to a numbered GitHub issue
Additions
g.clear().flip()
(#1580)Graphics.clear(true)
will reset state (font, color, etc) to default as well as clearing the screen (#1615)|
operator (#1503)Device specific additions
NRF.setSecurity
active
option to NRF.setScan/findDevices/requestDevices to allow scan response packets to be requestednRF5x: Allow Serial1.setup(...) with only TX or RX pins
STM32: Add
E.setRTCPrescaler
to allow the RTC to be calibrated on Espruino Pico (#1607)STM32F4discovery: Add Filesystem module
ESP32 now uses esp-idf V3.1.3
ESP8266: shrinking build size with different compiler options (#1622)
ESP8266: add Wifi.connect options channel and bssid for faster AP connects (#1595, #1640)
Fixes
new Date
h/m/s/ms arguments since desktop JS is fine with out of range valuesConnection:close
unless overridden (fix #1596).clone
is called withthis==undefined
(#1628)Removals
Unfortunately the vector font has now had to be removed from the Espruino Original WIZnet build due to lack of spare flash memory, however the non-WIZnet build still contains everything.