lm35: add C driver and example; FTI; C++ wraps C

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2016-10-12 16:36:08 -06:00
parent cbf94414e2
commit 8624a07b77
8 changed files with 519 additions and 70 deletions

View File

@ -1,5 +1,9 @@
set (libname "lm35")
set (libdescription "upm DFRobot LM35 temperature sensor")
set (module_src ${libname}.cxx)
set (module_hpp ${libname}.hpp)
upm_module_init()
upm_mixed_module_init (NAME lm35
DESCRIPTION "LM35 Temperature Sensor"
C_HDR lm35.h
C_SRC lm35.c
CPP_HDR lm35.hpp
CPP_SRC lm35.cxx
FTI_SRC lm35_fti.c
CPP_WRAPS_C
REQUIRES mraa)