gsr: Added gsr sensor C source

Added the C source for the gsr sensor with necessary changes to cmake,
examples, docs.

    * Renamed all files with grovegsr to gsr
    * Replaced all instances of grovegsr with gsr
    * Added C source for gsr sensor
    * Updated all cmake files
    * Added C example for gsr sensor
    * Fixed C++ threshold method from throwing on a successfull aio read

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck
2016-09-08 13:55:23 -07:00
parent a19678948b
commit 0e52ea619b
20 changed files with 547 additions and 81 deletions

11
src/gsr/pyupm_gsr.i Normal file
View File

@@ -0,0 +1,11 @@
// Include doxygen-generated documentation
%include "pyupm_doxy2swig.i"
%module pyupm_gsr
%include "../upm.i"
%feature("autodoc", "3");
%include "gsr.hpp"
%{
#include "gsr.hpp"
%}