/walkner-tools

Helper tools for building custom devices based on Lantronix XPort Pro and Jennic Wireless Microcontrollers.

Primary LanguageJavaScriptMIT LicenseMIT

walkner-tools

Helper tools for building custom devices based on Lantronix XPort Pro and Jennic Wireless Microcontrollers.

Requirements

Linux

Tested on Ubuntu 10.04:

Linux server 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 GNU/Linux

Lantronix XPort Pro Linux SDK

The XPort Pro Linux Software Developer’s Kit (SDK) is an embedded hardware and software suite that allows Linux developers to easily create value-added applications on Lantronix’ embedded networking module.

stdbuf

stdbuf from coreutils must be available in $PATH.

For older version of Ubuntu, one must manually download the sources, uncompress, ./configure, make and make install, because stdbuf might not be available in coreutils package provided by the package manager.

node.js

Node.js is a server side software system designed for writing scalable Internet applications in JavaScript.

Installation

Clone the repository, cd to its directory and execute npm install:

git clone git://github.com/morkai/walkner-tools.git
cd walkner-tools
npm install

Optionally, all .js files in the root directory may be executables:

cd walkner-tools
chmod +x *.js

so the tools can be used without prefixing them with node (i.e. ./lantronix-burn-image.js instead of node lantronix-burn-image.js).

Usage

Before using some tools (e.g. lantronix-burn-image), the Lantronix Linux SDK environment must be set up:

cd <path/to/lantronix/linux/sdk>
. env_m68k-uclinux

Execute any of the tools with no arguments to display help, e.g.:

node walkner-tools/lantronix-burn-image.js

License

walkner-tools is released under the MIT License.

Copyright (c) 2014, Łukasz Walukiewicz (lukasz@walukiewicz.eu).