arduino-libraries / Arduino_MKRIoTCarrier

Use the features included with the Arduino MKR IoT Carrier
https://store.arduino.cc/mkr-iot-carrier
GNU Lesser General Public License v2.1
18 stars 11 forks source link

[rev2] Fix AirQuality readings by restructuring BSEC library #84

Closed facchinm closed 7 months ago

facchinm commented 7 months ago

This library now has an additional dependency (https://github.com/boschsensortec/BSEC-Arduino-library) and every valid read from BME680 is cached and shared between the different abstractions.

github-actions[bot] commented 7 months ago

Memory usage change @ e41650a12c0bf1ba3a7fae5eedf84375ab542356

Board flash % RAM for global variables %
arduino:samd:mkrwifi1010 :small_red_triangle: 0 - +2504 0.0 - +0.96 :small_red_triangle: 0 - +64 0.0 - +0.2
Click for full report table Board|`examples/Actuators/Buzzer_Melody`
flash|%|`examples/Actuators/Buzzer_Melody`
RAM for global variables|%|`examples/Actuators/Relays_blink`
flash|%|`examples/Actuators/Relays_blink`
RAM for global variables|%|`examples/All_Features`
flash|%|`examples/All_Features`
RAM for global variables|%|`examples/Grove_Inputs`
flash|%|`examples/Grove_Inputs`
RAM for global variables|%|`examples/LEDs-Examples/LED_Blink`
flash|%|`examples/LEDs-Examples/LED_Blink`
RAM for global variables|%|`examples/SD_card`
flash|%|`examples/SD_card`
RAM for global variables|%|`examples/Sensors/IMU/SimpleAccelerometer`
flash|%|`examples/Sensors/IMU/SimpleAccelerometer`
RAM for global variables|%|`examples/Sensors/IMU/SimpleGyroscope`
flash|%|`examples/Sensors/IMU/SimpleGyroscope`
RAM for global variables|%|`examples/Sensors/Light/FullExample`
flash|%|`examples/Sensors/Light/FullExample`
RAM for global variables|%|`examples/Sensors/Light/GestureSensor`
flash|%|`examples/Sensors/Light/GestureSensor`
RAM for global variables|%|`examples/Sensors/Light/ProximitySensor`
flash|%|`examples/Sensors/Light/ProximitySensor`
RAM for global variables|%|`examples/Sensors/Light/Read_Colors`
flash|%|`examples/Sensors/Light/Read_Colors`
RAM for global variables|%|`examples/Sensors/Pressure/ReadPressure`
flash|%|`examples/Sensors/Pressure/ReadPressure`
RAM for global variables|%|`examples/Sensors/Pressure/ReadPressureImperial`
flash|%|`examples/Sensors/Pressure/ReadPressureImperial`
RAM for global variables|%|`examples/Sensors/TemperatureHumidity/ReadSensors`
flash|%|`examples/Sensors/TemperatureHumidity/ReadSensors`
RAM for global variables|%|`examples/Sensors/TemperatureHumidity/ReadSensorsImperial`
flash|%|`examples/Sensors/TemperatureHumidity/ReadSensorsImperial`
RAM for global variables|%|`examples/Sensors/VOC/AirQuality`
flash|%|`examples/Sensors/VOC/AirQuality`
RAM for global variables|%|`examples/Sensors/VOC/CO2_Read`
flash|%|`examples/Sensors/VOC/CO2_Read`
RAM for global variables|%|`examples/Sensors/VOC/VolatileOrganicCompounds`
flash|%|`examples/Sensors/VOC/VolatileOrganicCompounds`
RAM for global variables|%|`examples/TouchPads/Custom_Sensitivity`
flash|%|`examples/TouchPads/Custom_Sensitivity`
RAM for global variables|%|`examples/TouchPads/Relays_control_Qtouch`
flash|%|`examples/TouchPads/Relays_control_Qtouch`
RAM for global variables|%|`examples/TouchPads/TouchTypes`
flash|%|`examples/TouchPads/TouchTypes`
RAM for global variables|%|`examples/TouchPads/Touch_and_LEDs`
flash|%|`examples/TouchPads/Touch_and_LEDs`
RAM for global variables|%|`examples/TouchPads/Touch_signals`
flash|%|`examples/TouchPads/Touch_signals`
RAM for global variables|%|`examples/TouchPads/getTouch`
flash|%|`examples/TouchPads/getTouch`
RAM for global variables|%|`examples/Display/Compose_images`
flash|%|`examples/Display/Compose_images`
RAM for global variables|%|`examples/Display/Graphics`
flash|%|`examples/Display/Graphics`
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|- `arduino:samd:mkrwifi1010`|1128|0.43|24|0.07|1120|0.43|24|0.07|2488|0.95|56|0.17|1128|0.43|24|0.07|1120|0.43|24|0.07|1128|0.43|24|0.07|0|0.0|0|0.0|1128|0.43|24|0.07|1128|0.43|24|0.07|1128|0.43|24|0.07|1120|0.43|24|0.07|1128|0.43|24|0.07|2504|0.96|64|0.2|2504|0.96|64|0.2|2496|0.95|64|0.2|2496|0.95|64|0.2|2480|0.95|64|0.2|2496|0.95|64|0.2|2496|0.95|64|0.2|1128|0.43|32|0.1|1120|0.43|24|0.07|1120|0.43|32|0.1|1128|0.43|32|0.1|1128|0.43|24|0.07|1128|0.43|32|0.1|1128|0.43|24|0.07|1128|0.43|24|0.07
Click for full report CSV ``` Board,examples/Actuators/Buzzer_Melody
flash,%,examples/Actuators/Buzzer_Melody
RAM for global variables,%,examples/Actuators/Relays_blink
flash,%,examples/Actuators/Relays_blink
RAM for global variables,%,examples/All_Features
flash,%,examples/All_Features
RAM for global variables,%,examples/Grove_Inputs
flash,%,examples/Grove_Inputs
RAM for global variables,%,examples/LEDs-Examples/LED_Blink
flash,%,examples/LEDs-Examples/LED_Blink
RAM for global variables,%,examples/SD_card
flash,%,examples/SD_card
RAM for global variables,%,examples/Sensors/IMU/SimpleAccelerometer
flash,%,examples/Sensors/IMU/SimpleAccelerometer
RAM for global variables,%,examples/Sensors/IMU/SimpleGyroscope
flash,%,examples/Sensors/IMU/SimpleGyroscope
RAM for global variables,%,examples/Sensors/Light/FullExample
flash,%,examples/Sensors/Light/FullExample
RAM for global variables,%,examples/Sensors/Light/GestureSensor
flash,%,examples/Sensors/Light/GestureSensor
RAM for global variables,%,examples/Sensors/Light/ProximitySensor
flash,%,examples/Sensors/Light/ProximitySensor
RAM for global variables,%,examples/Sensors/Light/Read_Colors
flash,%,examples/Sensors/Light/Read_Colors
RAM for global variables,%,examples/Sensors/Pressure/ReadPressure
flash,%,examples/Sensors/Pressure/ReadPressure
RAM for global variables,%,examples/Sensors/Pressure/ReadPressureImperial
flash,%,examples/Sensors/Pressure/ReadPressureImperial
RAM for global variables,%,examples/Sensors/TemperatureHumidity/ReadSensors
flash,%,examples/Sensors/TemperatureHumidity/ReadSensors
RAM for global variables,%,examples/Sensors/TemperatureHumidity/ReadSensorsImperial
flash,%,examples/Sensors/TemperatureHumidity/ReadSensorsImperial
RAM for global variables,%,examples/Sensors/VOC/AirQuality
flash,%,examples/Sensors/VOC/AirQuality
RAM for global variables,%,examples/Sensors/VOC/CO2_Read
flash,%,examples/Sensors/VOC/CO2_Read
RAM for global variables,%,examples/Sensors/VOC/VolatileOrganicCompounds
flash,%,examples/Sensors/VOC/VolatileOrganicCompounds
RAM for global variables,%,examples/TouchPads/Custom_Sensitivity
flash,%,examples/TouchPads/Custom_Sensitivity
RAM for global variables,%,examples/TouchPads/Relays_control_Qtouch
flash,%,examples/TouchPads/Relays_control_Qtouch
RAM for global variables,%,examples/TouchPads/TouchTypes
flash,%,examples/TouchPads/TouchTypes
RAM for global variables,%,examples/TouchPads/Touch_and_LEDs
flash,%,examples/TouchPads/Touch_and_LEDs
RAM for global variables,%,examples/TouchPads/Touch_signals
flash,%,examples/TouchPads/Touch_signals
RAM for global variables,%,examples/TouchPads/getTouch
flash,%,examples/TouchPads/getTouch
RAM for global variables,%,examples/Display/Compose_images
flash,%,examples/Display/Compose_images
RAM for global variables,%,examples/Display/Graphics
flash,%,examples/Display/Graphics
RAM for global variables,% arduino:samd:mkrwifi1010,1128,0.43,24,0.07,1120,0.43,24,0.07,2488,0.95,56,0.17,1128,0.43,24,0.07,1120,0.43,24,0.07,1128,0.43,24,0.07,0,0.0,0,0.0,1128,0.43,24,0.07,1128,0.43,24,0.07,1128,0.43,24,0.07,1120,0.43,24,0.07,1128,0.43,24,0.07,2504,0.96,64,0.2,2504,0.96,64,0.2,2496,0.95,64,0.2,2496,0.95,64,0.2,2480,0.95,64,0.2,2496,0.95,64,0.2,2496,0.95,64,0.2,1128,0.43,32,0.1,1120,0.43,24,0.07,1120,0.43,32,0.1,1128,0.43,32,0.1,1128,0.43,24,0.07,1128,0.43,32,0.1,1128,0.43,24,0.07,1128,0.43,24,0.07 ```