examples: use mraa_get_platform_name API in examples

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
doxy2swig: quick fix on missing unicode encode

Signed-off-by: Mihai Tudor Panu <mihai.t.panu@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
npmpkg: Fix package.json having invalid main property

Fixes #48

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
package.json.cmake: fix broken main property

This is a partial revert of previous commit

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
package.json.cmake: Proper version requires for nodejs

Signed-off-by: Helio Chissini de Castro <helio@kde.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
pwm.c: Fix error in mraa_pwm_read_period

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
pwm.c: Fix error in mraa_pwm_read_duty

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
mraa: update to version 0.5.4

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
cmake: Define library suffix in case of 64 bits multilib archs in linux

Signed-off-by: Helio Chisisni de Castro <helio@kde.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
CMakeLists.txt: use relative paths for install

Using CMAKE_INSTALL_FULL_LIBDIR breaks cpack

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
types.h: Move mraa_pinmodes_t to types.h

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
common.h: move functions from types.h

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
mraa.i: add enum item rename rule

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
aio.c: properly cleanup after mraa_aio_close

Problem not closing file handle when you destroy the mraa_aio_context

Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
intel_edison_fab_c.c: add more robust error handling

Fixes #55

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
intel_de3815.c: check malloc return values

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
intel_minnow_max.c: check malloc return values

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
intel_galileo_rev_d.c: prefix syslog calls

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
intel_galileo_rev_d.c: check malloc return values

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
intel_galileo_rev_g.c: add more robust error handling

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