vdiv: Added vdiv C source.
Multiple changes related to building the vdiv c source w/c example.
* Renamed GroveVdiv to vdiv (all cases) throughout source, examples,
directory names, and documentation.
* Added C source.
* Tested C sensor code on edison
* Updated CMakeLists.txt for examples-c to build from
<sensorname>-c. This was a small change to get c examples to build
for sensors in which the C++ does NOT wrap the C.
* Added C example for vdiv.
Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
8
src/vdiv/CMakeLists.txt
Normal file
8
src/vdiv/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
upm_mixed_module_init (NAME vdiv
|
||||
DESCRIPTION "upm grove voltage divider module"
|
||||
C_HDR vdiv.h
|
||||
C_SRC vdiv.c
|
||||
CPP_HDR vdiv.hpp
|
||||
CPP_SRC vdiv.cxx
|
||||
FTI_SRC vdiv_fti.c
|
||||
REQUIRES mraa)
|
||||
Reference in New Issue
Block a user