This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
ZJS 0.3
Pre-release
Pre-release
The ZJS 0.3 release is available from git with the tag v0.3
with API documentation and ashell documentation. This release is a preview release with the following features:
- Based on stable Zephyr 1.7 and an updated JerryScript
- New API modules for OCF, UDP datagrams, Filesystem, TemperatureSensor
- I2C support on K64F board
- Variable x86/arc partitioning for ROM/RAM on Arduino 101 w/o bootloader update
- Dynamic memory allocation far less restricted after switching to newlib malloc
- New APIs in console module: time, timeEnd, assert
- WebUSB support in ashell, works with Web IDE
- Better cleanup in between running scripts on ashell
- Standard error types defined
- Improved documentation, tests
- Build improvements such as simpler ashell/ide targets, Mac build fixed
- Many bug fixes
- Devel: Macros for standard argument validation
- Devel: ZVAL macro to handle jerry_value_t cleanup automatically
- Devel: Travis builds dramatically sped up with consolidation and caching
- Test: Assert.js module for common test behavior
Caveat:
- We have a workaround for building with SDK 0.9, which builds in debug mode w/o optimization. To build ashell/ide with SDK 0.9 on you should use ROM=250. For this reason, SDK 0.8.2 is still preferred until we can solve that a better way.
Known minor github issues that we do not plan to fix for this release:
- #90 The GPIO “pullup”/”pulldown” feature doesn’t work on IO2, IO4, IO7-IO8 pins
- #758 Throw out error with building UDP server in qemu
- #762 "set transfer ihex/raw" is not working as expected
- #783 Not enough memory if run a large size JS file
- #785 Could not parse JS
- #924 USAGE FAULT when running HelloWorld.js
- #990 D5 pin is working abnormally on K64F