We’ve been hard at work at Onion HQ, sometimes even sleeping on the couch overnight, but all that hard work has paid off…
The Omega now supports NodeJS version 4.3.1!!
The new version requires some updates to the Linux kernel, so you will need to do a full firmware update to prepare your Omega for the latest NodeJS. To reflect this, the Omega firmware version has been changed to 0.0.7
To update to the latest firmware, either run oupgrade
in the command line, or upgrade through the console.
Installing Node
opkg update
opkg install nodejs
If you experience any issues, a factory reset should fix everything, just make sure to back up any data you don’t want to lose.
NPM is also available and can be installed with:
opkg install npm
Note that it takes up quite a bit of space, so you will most likely need to transfer your rootfs to USB storage to install both NPM and node.
We’re working on reducing the amount of space the default programs take up so that additional storage is not required to use both programs. Stay tuned.
SPI Support
Also included in the firmware is support for SPI over the GPIOs! There’s a static C library, a Python Module, and a command line tool.
There’s a wiki article that goes in-depth on how to use the library.
To install the Python Module (and the static C library):
opkg update
opkg install python-light pyOnionSpi
To install the command line tool:
opkg update
opkg install spi-tool
For info on how to use it, run spi-tool -h
Full Report.
A wiki article on the tool is coming soon!
EDIT: The wiki article can be found at: https://wiki.onion.io/Tutorials/Using-SPI
A message from the Onion team
We want to take a minute to thank all Onioneers for their support and patience. We’ve encountered issues with manufacturing and delays with our software, but through this process we’ve learned how to better manage these activities and what it means to run an IoT startup.
As a team, we’re 100% aligned in giving our customers everything that was promised during the Kickstarter campaign and more, the best from Onion is yet to come! Look out, 2016 will definitely be the year of the Omega and the Onion!
PS: Be sure to keep an eye on the Onion Wiki, we’re working hard to add content and make it a valuable resource to the community!
Join the discussion here: https://community.onion.io/topic/600/firmware-007-a-license-to-node
HACKED BY SudoX — HACK A NICE DAY.