This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
ZJS 0.4
Pre-release
Pre-release
The ZJS 0.4 release is available from git with the tag v0.4
with API documentation and ashell documentation. This release is a preview release with the following features:
- Based on stable Zephyr 1.8 and updated JerryScript and iotivity-constrained
- New API modules for TCP sockets (net), Websockets, SPI bus, Pattern Matching for Arduino 101, Board API (partial), and net_config module w/ DHCP and static IP support, SPI screen support
- Support for JavaScript-only modules
- Support multiple client connections over Bluetooth
- JerryScript features like promises enabled automatically when they are used
- Simplified ashell to run in a single thread
- Split sensor support into separate submodules
- Magnetometer sensor support for K64F
- Multiple resource support for OCF
- Prevents synchronization issues by ensuring malloc and JerryScript calls are only done from the main thread with "deferred work" concept
- Uses JerryScript's JobQueue implementation
- Stores module metadata in JSON files and updated analyze script to use them
- Modularized ARC support image
- Experimental support for nRF52, Arduino Due, ST F411RE
- Mock support for GPIO module to allow testing without hardware
- New samples
- Added documentation
- Many bug fixes
- Devel: Add ZJS_ASSERT and FTRACE macros for debugging
I'm afraid there is a large number of known issues in Github at the time of this release, so I'm not going to try to list them all here. We spent a long time stabilizing but were only able to address the relatively major issues this time. Now that Zephyr 1.9 is out we need to start working on that and hopefully we'll be able to get the bug count down for the next release.