mirror of
https://github.com/eclipse/upm.git
synced 2025-11-17 07:24:20 +03:00
In an effort to clean-up and standardize UPM library
documentation, this commit updates (and in most cases,
unifies) the CMake description string AND CXX header
@comname string.
Strings were taken from datasheets when possible, spelling
mistakes were addressed, copy/paste errors where fixed,
Title Case was used, etc.
* Tested/updated/added @web tags
* Added/updated invalid sensor images
* Added/updated @man tags, added missing manufacturers
Signed-off-by: Noel Eck <noel.eck@intel.com>
10 lines
400 B
CMake
10 lines
400 B
CMake
set (libname "ads1x15")
|
|
set (libdescription "Texas Instruments I2C ADC Library")
|
|
set (module_src ${libname}.cxx ads1115.cxx ads1015.cxx)
|
|
set (module_hpp ${libname}.hpp ads1115.hpp ads1015.hpp)
|
|
upm_module_init(interfaces mraa)
|
|
compiler_flag_supported(CXX is_supported -Wno-overloaded-virtual)
|
|
if (is_supported)
|
|
target_compile_options(${libname} PUBLIC -Wno-overloaded-virtual)
|
|
endif(is_supported)
|