Firmware 0.4.9 has shipped!!
FEATURES
- Support for CAN Bus #790 Thanks @monkbroc and @bspranger!
- blockOnOverrun() on hardware serial to allow applications to disable the default flow control.
- availableForWrite() on hardware serial to allow applications to implement flow control. #798
- WiFi.BSSID() to retrieve the 6-byte MAC address of the connected AP. #816
- attachInterrupt() configurable interrupt priority #806
- Time.local() retrieves the current time in the configured timezone. #783
- WiFi.getCredentials() lists configured credentials. Thanks @moncbroc #759
- variable frequency PWM via analogWrite(pin,value,hz) #756 Thanks @monkbroc!
- ATOMIC_BLOCK() and SINGLE_THREADED_BLOCK() declarations for atomicity and thread scheduling control. #758
- API for Guarding resources for use between threads.
- System events for individual button clicks and a run of button clicks. #818
ENHANCEMENTS
- System.freeMemory() shows an accurate value for free memory rather than the highwater mark for the heap.
- [threading] Entering listening mode does not block the system thread. #788
- [threading] System times out waiting for unresponsive application when attempting to reset. #763
- [threading]
Particle.publish()
doesn’t block when in listening mode. #761 - [threading].
delay()
/Particle.process()
pumps application events. - Serial, Serial1, SPI and EEPROM global objects guaranteed to be initialized before use. (Prevents White breathing LED if Serial used in a global instance constructor.)
- Software Timers have an option for one-shot timers, and support class member function callbacks.
BUGFIXES
- RSA key generation would sometimes produce invalid keys. #779
- Static IP configuration was not being used.
- Interrupt on WKP with class method as an ISR #819
- Memory leak configuring WiFi credentials via SoftAP (TCP/HTTP)
- SPI DMA transfer callback invoked too early #791
- Unset
wiced_result_t
for tcp clients insocket_send
. #773 - Update bootloader to support
System.enterSafeMode()
. #751 - [threading]
WiFi.listen(false)
remains in listen mode. #743 - Factory Reset doesn’t clear WiFi credentials until
network.connect()
. #736 - Comparison between
IPAddress
objects does not always work. #715 - P1 dfu-util 0.8 does not read/write from External Flash. #706
- DFU errors writing to flash silently ignored. #813
- [threading] heap allocation not thread-safe. #826
- System crash when button interrupt occurs during i2c transmission. #709
- [photon] 'analogWrite()` to DAC pins. #671
- [photon]
analogWrite()
to DAC pins requirespinMode()
each time. #662 - [photon]
System.sleep(pin,edge)
doesn’t wake. #655