mirror of
https://github.com/eclipse/upm.git
synced 2025-11-06 01:54:09 +03:00
Added C/CXX warning messages similar to MRAA (w/ -Werror).
* Added syslog warning for missing switch cases
* Cleaned up uint vs int usage
* Fixed redifinition errors for C structs
* Added virtual destructors for base classes
* Removed redundant CMAKE_CXX_FLAGS from COMPILE_FLAGS for all three
wrapper languages. The CMAKE_CXX_FLAGS were showing up twice in
the compile commands for the wrappers.
* Added CMake WERROR option to enable/disable warnings as errors for
all targets.
* Disable a handful of compiler warnings for the wrapper cxx files,
this minimizes the number of warnings from auto-generated code).
Signed-off-by: Noel Eck <noel.eck@intel.com>
Grove - Gas Sensor(MQ-2):Combustible Gas Smoke [medium sensitivity] Grove - Gas Sensor(MQ-3):Alcohol and Benzine [high sensitivity] Long warm-up Grove - Gas Sensor(MQ-5):LPG, Natural Gas, Town Gas [high sensitivity] Grove - Gas Sensor(MQ-9):LPG, CO, CH4 [low sensitivity] Grove - Air Quality Sensor(TP-401): CO, alcohol, acetone, thinner, others [high sensitivity]. Note - Gas sensors need to be heated, first minute the data is incorrect. Air Quality sensor needs 48h to stabilize.