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>
intel_minnow_max.c: fix unsafe strncpy not NULL terminating

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

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
arch: initial framework for supporting other architectures added.

x86: all platforms moved into x86 directory

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
x86: move x86 platform include files into own directory

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
arm: add initial skeleton for arm platform support

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>