Firmware release 0.4.6 has shipped for all platforms.
Changes in 0.4.6
FEATURES
- [photon] separate System Thread
- [core] Hooks to support FreeRTOS (optional library)
- Variables stored in Backup RAM
-
printf/printlnf on
Print
classes -Serial
,Serial1
,TCP
,UDP
-
String.format
forprintf
-style formatting to aString
. - Wire.end() to release the I2C pins. #597
- Wire.reset() to reset the I2C bus. Thanks @pomplesiegel #598
- System.ticks() to retrieve the current MCU cycle counter for precise timing.
- System.enterSafeMode() to restart the device in safe mode.
ENHANCEMENTS
- [photon]
WiFi.selectAntenna()
setting is persistent, so the last selected antenna is used when the
device is in safe mode. [#618] - Detect when the cloud hasn’t been serviced for 15s and disconnect, so device LED state accurately
reflects the connection state when the application loop has stalled. #626 - Compile-time checks for
Particle.variable()
#619 - [photon] Increased retry count when connecting to WiFi. #620
- Setup button events #611
BUGFIXES
-
UDP.receivePacket()
would fail ifUDP.setBuffer()
hadn’t been called first. Thanks @r2jitu. - [photon] Default SS pin for SPI1 now set to D5. #623
- [photon] Long delay entering listening mode. #566
- [photon] Solid green LED when WiFi network cannot be connected to due to invalid key. (The LED now blinks.)
- [photon] Storing more than 2 Wi-Fi credentials would sometimes give unpredictable results.
- [photon] TX/RX pins did not work after entering listening mode. #632
- [photon] Improvements to I2C for MCP23017 / Adafruit RGBLCDShield. #626
- [photon] Incorrect wakeup time set for sleep. #653
Have comments or questions about this release? Let’s head over to the Particle Firmware Update Comments thread.