Alexander Komarov
4302f0d0c3
java: Added Java SWIG binding creation
...
%init directive is not supported in java so move %init to js/py interface files
Signed-off-by: Alexander Komarov <alexander.komarov@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-04-24 12:12:11 +01:00
Brendan Le Foll
eb894033c5
mraa.i: add idef for SWIGPYTHON on doc interface files
...
This fixes compilation of node.js module with doxygen
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-04-02 13:51:00 +01:00
Brendan Le Foll
008184c305
nodejs: Add isr support to node.js
...
This commit adds isr support to node.js mraa module, it also forces
SWIGJAVASCRIPT to be set at compile time by cmake (SWIG uses SWIGJAVASCRIPT and
not SWIGNODE in it's preprocessor). This uses libuv uv_queue_work to call v8isr
and is all done at a C++ level unlike the python isr, so this reuses the
mraa_gpio_isr call. This closes #110
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-02-18 16:41:01 +00:00
Brendan Le Foll
9bcd652c21
mraa.i: remove std::string conversion
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-01-06 11:24:54 +00:00
Brendan Le Foll
0c086d8540
mraa.i: remove comments breaking builds with SWIG 3.0.3
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-12-10 11:06:13 +00:00
Brendan Le Foll
1ee0548587
mraa.i: add enum item rename rule
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-12-02 23:20:24 +00:00
Brendan Le Foll
274d5b2d50
i2c: use uint8_t when appropriate and remove char
...
Object APIs used signed chars for some operations which are not appropriate
when using i2c.
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-11-05 11:25:38 +00:00
Brendan Le Foll
54deb01796
exception: Add exceptions when context creation fails
...
* Exceptions only fired in constructor when it would initialise with a NULL
context causing segfaults if used any further
* Adds exception.i requirement to mraa.i for node.js and python support
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-10-16 15:07:18 +01:00
Brendan Le Foll
0d04677c98
uart: add C++ Uart module and links to swig
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-09-03 09:30:49 +01:00
Brendan Le Foll
4b0f24367a
common.hpp: use common.hpp instead of renaming C functions in interface
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-07-04 15:42:04 +01:00
Brendan Le Foll
a65ad6a551
mraa.i: remove mraaBuffer class
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-07-01 17:13:02 +01:00
Brendan Le Foll
70ba5a56ab
i2c: allow binary strings as parameters to write() functions in scripting
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-07-01 13:51:28 +01:00
Thomas Ingleby
6853997a92
mraa: rename from maa to mraa
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-24 17:24:54 +01:00