bmpx8x: rewrite in C; FTI; C++ wraps C
This driver has been rewritten from scratch. See docs/apichanges.md for a list of API compatibility changes compared to the original driver. Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
set (libname "bmpx8x")
|
||||
set (libdescription "Bosch BMP & GY65 Atmospheric Pressure Sensor Library")
|
||||
set (module_src ${libname}.cxx)
|
||||
set (module_hpp ${libname}.hpp)
|
||||
upm_module_init(mraa interfaces)
|
||||
upm_mixed_module_init (NAME bmpx8x
|
||||
DESCRIPTION "Pressure and temperature sensor"
|
||||
C_HDR bmpx8x.h bmpx8x_defs.h
|
||||
C_SRC bmpx8x.c
|
||||
CPP_HDR bmpx8x.hpp
|
||||
CPP_SRC bmpx8x.cxx
|
||||
FTI_SRC bmpx8x_fti.c
|
||||
CPP_WRAPS_C
|
||||
REQUIRES mraa interfaces)
|
||||
target_link_libraries(${libnamec} m)
|
||||
|
||||
Reference in New Issue
Block a user