Noel Eck
cdc33ceb9f
bitbake: Fix for pthreads C test w/yocto
...
Fixed a problem where the C/CXX compile flags were getting
overwritten. Fixed warnings in a few sensor drivers.
This commit fixes #485
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-11-08 16:28:54 -08:00
Noel Eck
a3a1fdc81b
Wunused-variable: Fixed all unused variables in src
...
This commit addresses all warnings emitted from -Wunused-variable
in the C++ src.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-11-02 21:44:27 -07:00
Noel Eck
b5a33f6ee3
cmake: Cleanup of src CMakeLists.txt description field
...
Removed 'upm' string, capitalized first character, added descriptions
where necessary.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-10-20 16:19:59 -07:00
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
Zion Orent
66aaa97955
swig: rename funcs that caused overload errors in python for hmtrp, wt5001
...
Signed-off-by: Zion Orent <zorent@ics.com>
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-12-21 16:47:57 -08:00
Zion Orent
387b2b86b0
swig: ensure that all uint*_t passed in have the correct type.
...
Otherwise, we generate an exception. This should fix Issue #172 :
https://github.com/intel-iot-devkit/upm/issues/172
Signed-off-by: Zion Orent <zorent@ics.com>
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-12-21 16:36:31 -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
4de9734f0a
hmtrp: Added functions that throw exceptions when failing to read from sensors, and added java exception handling.
...
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:29 -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
Stefan Andritoiu
fcb36276b7
wt5001: Added functions that throw exceptions when failing to read from sensors. Added java exception handling, and modified examples.
...
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:04 -08:00
Jon Trulson
45773fac80
wt5001: remove unused setTtyFd() call causing compiler warnings
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-10-05 10:51:32 -07:00
Jon Trulson
64777bd0ef
wt5001: 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:22:45 -07:00
Petre Eftime
2cab79b4c2
java: Changed size_t and unsigned int to int in array declarations. Renamed buf to buffer where necesarry. Moved most Java array typemaps to java_buffer.i. Fixed some String buffers.
...
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
Conflicts:
src/upm.i
2015-09-15 17:01:39 -07:00
Andrei Vasiliu
a81b1836a3
java: eliminated SWIGTYPE_speed_t and corrected typo
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com>
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-09-04 13:47:38 -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
Brendan Le Foll
d6ce082274
uart: result of mraa_uart_get_dev_path is a const
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-06-02 09:52:24 -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
sisinty sasmita patra
a742459248
images: added more images and modified respective header files
...
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-05-26 16:12:33 -07:00
Zion Orent
ff897e84eb
wt5001: new python example and update to JS example for wt5001 mp3 player
...
Signed-off-by: Zion Orent <zorent@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-04-17 11:37:07 -07:00
John Van Drasek
fa4dabf173
wt5001.h: adding doxygen tags
...
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com>
2015-03-20 18:04:58 -07:00
Jon Trulson
328b7638ad
wt5001: switch to using new mraa_uart_get_dev_path()
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Zion Orent <zorent@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-01-29 16:50:28 -08:00
Jon Trulson
df390358f2
wt5001: Initial implementation
...
The module implements support for the WT5001 serial mp3 player. It was
tested on the Grove Serial MP3 Player.
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Zion Orent <zorent@ics.com>
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com>
2015-01-16 16:50:16 -08:00