Brendan Le Foll
faedfce419
maa: add global maa.h and maa.hpp and stop using /usr/include/maa/
...
* pkg-config now only sees maa.h & maa.hpp
* usage of maa/*.{h,hpp} is still allowed
* examples updated to use maa.{h,hpp}
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-10 16:47:37 +01:00
Thomas Ingleby
f1a0e9825e
cmake: added logic for building a tagged commit
...
* If the HEAD is 0 away from a tag, i.e. if it has just been tagged,
removes commit number from version
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-09 19:19:16 +01:00
Brendan Le Foll
1289b39c6f
maa: version bump to 0.2.8
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-09 17:33:22 +01:00
Thomas Ingleby
60fef1bd30
cmake: added conflicts and replaces fields
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-09 14:49:35 +01:00
Thomas Ingleby
67f1e55bea
ipk: generated ipk named as libmaa{major version}
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-09 14:26:05 +01:00
Thomas Ingleby
83ab9575b4
ipk: rename end package to libmaa
...
* change provides to follow yocto produced package
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-09 14:14:11 +01:00
Thomas Ingleby
f101ee64f9
cmake: updated CPackDeb to use DEB outer compression.
...
* Additional fields added to CMakeLists
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-09 13:20:11 +01:00
Brendan Le Foll
35d38bc72a
package.json: add extra info about module license and runtime support
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-04 15:37:00 +01:00
Brendan Le Foll
6cd3cb4c65
maa: add maa_set_priority call
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-04 14:39:41 +01:00
Brendan Le Foll
2c278acfcd
cmake: install python & node.js modules correctly
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-04 12:06:04 +01:00
Brendan Le Foll
b74541bf5a
CPackDeb.cmake: update to use opkg-buld
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-04 12:05:02 +01:00
Thomas Ingleby
6117c855a3
maa: add make package using CPack, generates IPK
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-03 13:29:28 +01:00
Brendan Le Foll
5b191ab6cd
api: add proper doxygen comments to C++ headers and normalise doc
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-30 17:19:08 +01:00
Brendan Le Foll
fac705768d
Doxyfile.in: remove deprecated options in doxygen 1.8
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-30 17:09:54 +01:00
Brendan Le Foll
28fc9f97c9
swig: use C++ generated class doc and include directly from maa.i
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-30 10:28:21 +01:00
Brendan Le Foll
4383eb787f
doxy2swig.py: explicitly set to use python2
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-30 09:58:34 +01:00
Brendan Le Foll
ce8cda6743
DoxygenLayout.xml: make C++ doc order a little like the C doc
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-30 09:53:20 +01:00
Brendan Le Foll
a5539118c8
Doxyfile.in: remove include dir from INPUT path
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-30 09:52:05 +01:00
Thomas Ingleby
e86e8bf211
Merge branch 'gpio-mem'
2014-05-29 16:36:43 +01:00
Thomas Ingleby
7af6a96a13
mmap: added mmap io to gpio
...
* added function to gpio to use mmap
* changed board definition format around mmap io (fast-gpio)
* Intel Galileo Rev D updated to follow changed definitions
* Example performing mmap io to pin 2 added.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-29 16:30:07 +01:00
Brendan Le Foll
a02923beec
docs: Add docs/ folder with in depth topics as well as DoxygenLayout.xml file
...
* C headers now have @briefs and include examples
* Examples have altered 'Interesting' Sections
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-29 14:51:38 +01:00
Brendan Le Foll
b9352a9e8c
cmake: version bump to 0.2.7
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-28 11:01:00 +01:00
Brendan Le Foll
dd3ffe8b78
examples: add Interesting snippet tags to examples and link in Readme.md
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-28 11:00:36 +01:00
Brendan Le Foll
024324f76e
c++: Use simple types instead of unistd types for swig generation
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-28 10:58:27 +01:00
Brendan Le Foll
360c10a5e0
aio.py: add aio python example
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-27 10:43:46 +01:00
Brendan Le Foll
679ec0a139
aio.hpp: read() uses basic type to make generation of swig interfaces easier
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-27 10:38:56 +01:00
Brendan Le Foll
e5a9af65a8
aio: make types used more logical and simplify logic
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-26 16:05:17 +01:00
Brendan Le Foll
d6852c63a7
doxygen: add examples from examples dir and include one section on Readme.md
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-23 14:47:34 +01:00
Brendan Le Foll
d847ae7847
i2c: use uint8_t throughout to make code clearer
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-23 14:21:53 +01:00
Brendan Le Foll
ded3830951
swig: add BUILDSWIG macros to disable building of swig modules
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-23 13:56:45 +01:00
Brendan Le Foll
bc0da78b97
cmake: make sure headers are not in api/ subdir
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-23 11:58:04 +01:00
Thomas Ingleby
036bb40ab2
cmake: version bump to 0.2.6
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-22 14:57:19 +01:00
Brendan Le Foll
0fe7bd335c
src: add unistd.h to pwm and spi modules to remove compiler warnings
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-22 14:54:19 +01:00
Brendan Le Foll
55403793e3
pwm: equality comparison should be assignment
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-22 14:53:18 +01:00
Brendan Le Foll
ff720b67f5
I2c-compass: add -lm to linker
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-22 14:52:10 +01:00
Brendan Le Foll
9e2ce3f38c
cmake: install only the public API in ${prefix}/include/maa
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-22 14:26:11 +01:00
Brendan Le Foll
fb7da58139
cmake: install examples in ${prefix}/share/maa/examples
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-22 14:26:11 +01:00
Thomas Ingleby
8d21d477b8
examples: added more cpp examples.
...
Mostly just the same functionality as the C examples yet using the cpp
api.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-22 14:17:33 +01:00
Brendan Le Foll
bd1fabab5e
nodejs: define BUILDING_NODE_EXTENSION in CXXFLAGS for upstream swig
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-22 11:40:59 +01:00
Brendan Le Foll
45781693c7
cmake: building doc is now a cmake option and off by default
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-22 11:05:46 +01:00
Thomas Ingleby
923e4829a9
maa: change javascript to use swig upstream
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-22 10:16:09 +01:00
Thomas Ingleby
716004de54
intel_galileo_rev_d: fix i2c bus definition
...
* Worked before just wasnt quite correct. As SCL SDA share a
* mux on the rev d.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-21 17:05:58 +01:00
Thomas Ingleby
04a79bef2d
intel_galileo_rev_d: fix definition of pwm on 9/11
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-21 15:50:06 +01:00
Thomas Ingleby
a2c7eb5458
pwm: made export functions static
...
* removed functions from external api also.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-21 14:56:11 +01:00
Thomas Ingleby
98800a5c76
gpio: made export functions static.
...
* removed functions from api also
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-21 14:55:14 +01:00
Thomas Ingleby
7cc5d6b2b8
pwm: fix writing of period
...
Incorrect value attempted to be written
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-21 14:49:32 +01:00
Thomas Ingleby
e5a893bfb8
i2c: internal setup function properly works
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-21 14:01:22 +01:00
Thomas Ingleby
2b8ab38418
maa: hide and rename internal maa functions
...
Based on feedback received. All check functions renamed to setup.
Update all modules to use new name and header.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-21 13:17:16 +01:00
Thomas Ingleby
0813271423
spi: fix headers
...
Missed in earlier commits
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-21 13:07:50 +01:00
Thomas Ingleby
546157a9ab
aio: fix spacing
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-21 12:58:55 +01:00