Brendan Le Foll
83a5e6cde8
maa.i: maa_init is now done after swig initialisation routine
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-07 17:39:58 +01:00
Brendan Le Foll
82aebc27e1
Merge branch 'pinmap-i2cspi' of github.com:tingleby/maa into tingleby-pinmap-i2cspi
2014-05-02 16:43:10 +01:00
Brendan Le Foll
09cec0931b
swig: add unexport() calls to be used by destructors in object api
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-02 16:33:36 +01:00
Thomas Ingleby
64d3c78ca9
i2c: Work started on using pinmap with i2c
...
* Update examples and swig interface.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-02 16:07:18 +01:00
Brendan Le Foll
3e0d0c8241
python: fix examples and add maa_init() call in swig
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-02 14:08:49 +01:00
Brendan Le Foll
71ab4f4d5b
maa.i: Initial documentation of Swigified object API
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-02 13:54:51 +01:00
Thomas Ingleby
e68a420f0a
i2c: removed gpio from context
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-02 13:53:20 +01:00
Brendan Le Foll
9878b2e419
maa.i: stop importing all of maa.h definitions
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-02 09:52:06 +01:00
Brendan Le Foll
d1de6a48c9
aio: add aio swig object
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-01 16:59:54 +01:00
Brendan Le Foll
8c016318a6
swig: make swig generation of objects generic
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-01 16:11:17 +01:00
Brendan Le Foll
201e22f922
swig: name functions explicitly and use %extend to convert _context structs to objects
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-01 16:11:16 +01:00
Thomas Ingleby
e04d776c95
spi: Add initial SPI api
...
* Skeleton implementation included too.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-30 14:43:59 +01:00
Brendan Le Foll
ed0a1f6085
maa: change the linking of maa and make gpio functions match maa_ spec
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-27 23:11:31 +01:00
Brendan Le Foll
a5a407e4b5
MAA version 0.2.0 moves to a standard C API
...
* Removed all C++ code and renamed all .cxx extensions to .c
* All functions are renamed to maa_ and modules are for example called maa_pwm
* Cmake can now 'make doc' using a Doxyfile.in to create documentation
* examples/ have been updated but swig generated API is untested
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-27 21:17:54 +01:00
Thomas Ingleby
485e4e9bdd
pwm: Add missing include
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-14 17:17:33 +01:00
Brendan Le Foll
7eb9fa64a9
i2cslave: first possibly working implementation of i2cslave api
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-11 15:46:27 +01:00
Brendan Le Foll
e59b8b2038
gpio: enable very basic gpio control from swig
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-10 18:00:57 +01:00
Brendan Le Foll
9994ea855c
maa: Refactor maa build system and partly implement i2c
...
* API headers moved to api/
* smbus file added from libi2c and kernel i2c header cleaned up
* fix compilation of swig and use i2c.h header
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-10 16:53:19 +01:00
Brendan Le Foll
b7d42d470f
maa.i: remove dependancy on -includeall and specifiy which headers to include in maa.i
2014-04-10 11:05:40 +01:00
Brendan Le Foll
00ba95bac0
maa: Initial commit of maa, a python and nodejs I2C skeleton only
2014-04-08 18:45:30 +01:00