spi: fix mistake from mem branch where spi will fail.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
docs: explain aio numbering scheme

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
intel_minnow_max.c: fixed pin capability errors

Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
docs: Added first cut at minnow-max documentation

Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
gpio.c: Added gpio list/set/get utility

Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
i2c.h: fix typo in doxygen comment

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
docs: add minnowboard max to doxygen index page

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
docs: update product names & brand names

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
javascript: add a generated package.json with versioning

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
npm: add node-gyp build support

This commit adds all the infrastructure necessary for doing node-gyp builds of
mraa. Note this will only build the mraa js bindings and will dirty your git
tree whilst doing it. It also assumes the user does not have SWIG installed on
their machines and so the swig wrapper is static. The target to use this
feature is 'npmpkg'.

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
package.json.cmake: remove repository tag causing issues on update

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
cmake: fix indentation

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
hello_isr.py: add counter to example

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
i2c.c: fix typo in mraa_i2c_read_word_data

Fixes #45

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
docs: update documentation mistakes

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
mraa_board_t: fix operator in *_mmap_unsetup

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
gpio.c: fix incorrect debug message due to merge

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
aio.c: remove less-than-zero comparison of an unsigned var

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
aio.c: check aio_get_valid_fp return value

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
gpio.c: check return status of open call

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>