You can use it by setting IFACE_HDR with the names of the required interfaces or set module_iface in the sensor's CMakeLists.txt file. Example files: src/abp/CMakeLists.txt src/lm35/CMakeLists.txt Signed-off-by: Serban Waltter <serban.waltter@rinftech.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
11 lines
242 B
CMake
11 lines
242 B
CMake
upm_mixed_module_init (NAME lm35
|
|
DESCRIPTION "Analog Temperature Sensor"
|
|
C_HDR lm35.h
|
|
C_SRC lm35.c
|
|
IFACE_HDR iTemperature.hpp
|
|
CPP_HDR lm35.hpp
|
|
CPP_SRC lm35.cxx
|
|
FTI_SRC lm35_fti.c
|
|
CPP_WRAPS_C
|
|
REQUIRES mraa)
|