Noel Eck
922e0cc26b
cpp_headers: Renamed C++ headers from .h -> .hpp
...
To make room for UPM C and C++ sensor code to coexist, all UPM
C++ headers have been renamed from h -> hpp. This commit contains
updates to documentation, includes, cmake collateral, examples, and
swig interface files.
* Renamed all cxx/cpp header files which contain the string
'copyright intel' from .h -> .hpp (if not already hpp).
* Replaced all references to .h with .hpp in documentation,
source files, cmake collateral, example code, and swig interface
files.
* Replaced cmake variable module_h with module_hpp.
* Intentionally left upm.h since this file currently does not
contain code (documentation only).
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-04-28 14:00:54 -07:00
Jon Trulson
e17dc9a22e
my9221: fixup JS example and interface files
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-02-16 11:45:32 -08:00
Jon Trulson
84c3445412
my9221: fixup example CMakelists after upstream rebase
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-02-16 11:44:48 -08:00
Jon Trulson
cbb289438e
my9221: rewrite to include new functionality and serve as a base class
...
This driver has been rewritten to support some new functionality, be
more generic and fix up some old bugs. Multiple MY9221's can now be
chained together and are supported by the MY9221 base class.
In addition, the Grove LED Bar and Grove Circular LED drivers have
been incoporated into the my9221 library, using the new MY9221 class
as their base class. Examples have been fixed to work with the new
library, and renamed where needed.
The current grovecircularled driver has been removed as it is now a
part of the my9221 library.
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-02-16 11:42:21 -08:00
Noel Eck
e003a11723
cmake: added doxygen doc content to python sensor modules
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-12-21 16:20:15 -08:00
Stefan Andritoiu
dddba3e8a4
java: Added auto load library code in upm SWIG interfaces
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-11-24 14:36:17 -08:00
Andrei Vasiliu
5e72c4febd
misc: Minor fixes due to previous rebase
...
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-09-18 10:26:37 -07:00
Andrei Vasiliu
ce6a095079
misc: Removed mraa_init and mraa::init
...
This change is due to commit 35760929dbb912fc3dfc738fee67c4f0dd63d55f
from MRAA.
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-09-18 10:25:39 -07:00
Jon Trulson
f4e5a5109f
my9221: throw exception(s) on fatal errors
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-09-17 17:00:36 -07:00
Stefan Andritoiu
ef74a7b137
java: Eliminated double definition of SWIGJAVA and the need for "#undefine SWIGJAVA"
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
Conflicts:
src/CMakeLists.txt
2015-09-15 17:58:22 -07:00
Andrei Vasiliu
ab730038fd
java: changed some C types to C++ types
...
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
Conflicts:
src/mma7455/mma7455.cxx
src/mma7455/mma7455.h
src/sm130/sm130.cxx
src/sm130/sm130.h
2015-09-15 16:52:36 -07:00
sisinty sasmita patra
138c5af5f8
doxygen: Modified header files to show detail description from doxygen
...
Signed-off-by: sisinty sasmita patra <sisinty.s.patra@intel.com>
2015-09-08 13:38:59 -07:00
Stefan Andritoiu
7e2ae96c1f
Added Java support and bindings
...
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-08-13 16:25:54 -07:00
VadimPopov
1fe9b9eb1d
docs: final batch of header files reviewed
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-08-12 14:03:08 -07:00
Mihai Tudor Panu
6c7928fc92
upm: updated headers of sensors in environmental kit
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-06-24 13:25:29 -07:00
Mihai Tudor Panu
14f80e779e
docs: updated library descriptions and sensor names for consistency
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-06-01 17:18:27 -07:00
Mihai Tudor Panu
8614cb322a
docs: removed C++ references from documentation to make API language agnostic
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-06-01 15:46:18 -07:00
John Van Drasek
ecba83edc5
my9221: Patching up doxygen comments
...
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com>
2015-04-14 17:50:30 -07:00
John Van Drasek
78f25b0157
my9221: Adding doxygen comments and image from Seeed wiki
...
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com>
2015-04-14 14:09:03 -07:00
Mihai Tudor Panu
e2b3cbc0f1
examples: added missing snippets and paired them with right examples
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-03-13 17:05:12 -07:00
Mihai Tudor Panu
dc932b61e7
examples: updated filenames and snippets to start with chipid
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-03-13 16:50:18 -07:00
Brendan Le Foll
397af51d7c
upm: Add sensor groups based on IO types
...
This commit also fixes adds some default constructor arguments to some i2c
sensors.
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-10-02 10:28:29 +01:00
Brendan Le Foll
befba8c18d
doxygen: add groups for all modules
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-22 16:37:36 +01:00
Kirill Luchikhin
d15bf22536
Fix some dosctrings errors and trailing whitespaces
...
Signed-off-by: Kirill Luchikhin <kirill.luchikhin@intel.com>
2014-07-29 21:46:48 +04:00
Brendan Le Foll
00170bea97
my9221: return mraa_error_t when method says it does
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-07-14 13:59:56 +01:00
Brendan Le Foll
8cfb3d3dab
my9221: add direction for setBarLevel
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-07-14 13:59:19 +01:00
Brendan Le Foll
2822d63c9c
upm.i: add top level interface file which includes std_string.i
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-06-25 14:16:28 +01:00
Thomas Ingleby
36be22cb90
mraa: change all existing code to use libmraa.
...
* Made CMake depend on 0.4 libmraa
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-06-25 10:05:27 +01:00
Thomas Ingleby
cea5816c43
upm: new standard for modules cmake file
...
* Update all previously updated modules
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-06-12 11:39:10 +01:00
Thomas Ingleby
54a4afc6a7
my9221 mma7455: corrected spelling mistake
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-06-11 20:50:19 +01:00
Thomas Ingleby
1c138d9167
ledbar: rename to my9221
...
* Use new cmake macro
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-06-11 15:11:36 +01:00