Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

ZJS 0.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@grgustaf grgustaf released this 12 Apr 22:43
· 900 commits to master since this release

The ZJS 0.2 release is available from git with the tag v0.2 with API documentation and ashell documentation. This release is a preview release with the following features:

  • Based on stable Zephyr 1.6 and an updated JerryScript
  • New Hardware APIs for Generic Sensors, UART
  • New Software APIs for Events, Performance
  • I2C support for K64F
  • Support for Ambient Light Sensor and Arduino 101 Accelerometer/Gyroscope
  • Support require() of other JS modules
  • Snapshot build support w/o parser to reduce flash profile
  • Improved Console APIs for printing JS values
  • Now handles multiple pending calls to the same callback
  • Modular build for ARC core on Arduino 101 to save space
  • Prototype inheritance for objects ZJS creates
  • Many new tests for quality assurance
  • Various build improvements and helpful error messages
  • Various bug fixes
  • Devel: trlite script to run travis tests locally

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
  • #140 Timeout of less than 10ms in setInterval seems to hang
  • #315 [ashell] "to cancel" is missing in the usage information for 'load'
  • #359 [PWM] Error thrown when set pulsewidth before period
  • #397 [I2C.js] One more "WORLD" displays on LCD after running 3-4 hours
  • #504 [Sensor] Catch errors when running Accelerometer.js
  • #514 D0 and D1 cannot be used as output pins on FRDM_K64F
  • #531 [Sensor] The event.reading.illuminance is too low in AmbientLight.js
  • #566 [Console] Fail to throw exception when output an undefined value
  • #580 Fail to output long string on FRDM-K64F
  • #595 [sensor] Not readonly properties for state and readvalue
  • #596 [sensor] Undefined function stop() for AmbientLight sensor