Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for new defaults register #3

Merged
merged 8 commits into from
Jun 14, 2024
Merged

Add support for new defaults register #3

merged 8 commits into from
Jun 14, 2024

Conversation

sebromero
Copy link
Contributor

This PR adds support for the new defaults register found in the Nicla Sense Env firmware 1.1.0.

@per1234 per1234 added the enhancement New feature or request label Jun 14, 2024
Copy link

Memory usage change @ db4c882

Board flash % RAM for global variables %
arduino:esp32:nano_nora ❔ -100 - +300 -0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:mbed_nano:nano33ble 🔺 0 - +368 0.0 - +0.04 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 🔺 0 - +388 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_sense 🔺 0 - +368 0.0 - +0.07 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 🔺 0 - +368 0.0 - +0.02 0 - 0 0.0 - 0.0
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 🔺 0 - +384 0.0 - +0.02 0 - 0 0.0 - 0.0
arduino:renesas_uno:unor4wifi 🔺 0 - +368 0.0 - +0.14 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 🔺 0 - +408 0.0 - +0.16 0 - 0 0.0 - 0.0
Click for full report table
Board examples/BoardControl
flash
% examples/BoardControl
RAM for global variables
% examples/ChangeI2CAddress
flash
% examples/ChangeI2CAddress
RAM for global variables
% examples/FactoryReset
flash
% examples/FactoryReset
RAM for global variables
% examples/IndoorAirQuality
flash
% examples/IndoorAirQuality
RAM for global variables
% examples/OrangeLED
flash
% examples/OrangeLED
RAM for global variables
% examples/OutdoorAirQuality
flash
% examples/OutdoorAirQuality
RAM for global variables
% examples/RGBLED
flash
% examples/RGBLED
RAM for global variables
% examples/TemperatureHumidity
flash
% examples/TemperatureHumidity
RAM for global variables
% examples/UARTRead
flash
% examples/UARTRead
RAM for global variables
%
arduino:esp32:nano_nora 300 0.01 0 0.0 16 0.0 0 0.0 160 0.01 0 0.0 200 0.01 0 0.0 192 0.01 0 0.0 244 0.01 0 0.0 108 0.0 0 0.0 -100 -0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nano:nano33ble 368 0.04 0 0.0 120 0.01 0 0.0 256 0.03 0 0.0 304 0.03 0 0.0 304 0.03 0 0.0 304 0.03 0 0.0 240 0.02 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nano:nanorp2040connect 388 0.0 0 0.0 140 0.0 0 0.0 318 0.0 0 0.0 314 0.0 0 0.0 340 0.0 0 0.0 356 0.0 0 0.0 232 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nicla:nicla_sense 368 0.07 0 0.0 120 0.02 0 0.0 320 0.06 0 0.0 300 0.06 0 0.0 368 0.07 0 0.0 368 0.07 0 0.0 304 0.06 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nicla:nicla_vision 368 0.02 0 0.0 120 0.01 0 0.0 256 0.01 0 0.0 296 0.02 0 0.0 304 0.02 0 0.0 304 0.02 0 0.0 240 0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 384 0.02 0 0.0 128 0.01 0 0.0 272 0.01 0 0.0 304 0.01 0 0.0 324 0.02 0 0.0 356 0.02 0 0.0 256 0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:renesas_uno:unor4wifi 368 0.14 0 0.0 120 0.05 0 0.0 256 0.1 0 0.0 304 0.12 0 0.0 304 0.12 0 0.0 352 0.13 0 0.0 256 0.1 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwifi1010 408 0.16 0 0.0 144 0.05 0 0.0 272 0.1 0 0.0 328 0.13 0 0.0 360 0.14 0 0.0 376 0.14 0 0.0 248 0.09 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
Click for full report CSV
Board,examples/BoardControl<br>flash,%,examples/BoardControl<br>RAM for global variables,%,examples/ChangeI2CAddress<br>flash,%,examples/ChangeI2CAddress<br>RAM for global variables,%,examples/FactoryReset<br>flash,%,examples/FactoryReset<br>RAM for global variables,%,examples/IndoorAirQuality<br>flash,%,examples/IndoorAirQuality<br>RAM for global variables,%,examples/OrangeLED<br>flash,%,examples/OrangeLED<br>RAM for global variables,%,examples/OutdoorAirQuality<br>flash,%,examples/OutdoorAirQuality<br>RAM for global variables,%,examples/RGBLED<br>flash,%,examples/RGBLED<br>RAM for global variables,%,examples/TemperatureHumidity<br>flash,%,examples/TemperatureHumidity<br>RAM for global variables,%,examples/UARTRead<br>flash,%,examples/UARTRead<br>RAM for global variables,%
arduino:esp32:nano_nora,300,0.01,0,0.0,16,0.0,0,0.0,160,0.01,0,0.0,200,0.01,0,0.0,192,0.01,0,0.0,244,0.01,0,0.0,108,0.0,0,0.0,-100,-0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nano:nano33ble,368,0.04,0,0.0,120,0.01,0,0.0,256,0.03,0,0.0,304,0.03,0,0.0,304,0.03,0,0.0,304,0.03,0,0.0,240,0.02,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nano:nanorp2040connect,388,0.0,0,0.0,140,0.0,0,0.0,318,0.0,0,0.0,314,0.0,0,0.0,340,0.0,0,0.0,356,0.0,0,0.0,232,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nicla:nicla_sense,368,0.07,0,0.0,120,0.02,0,0.0,320,0.06,0,0.0,300,0.06,0,0.0,368,0.07,0,0.0,368,0.07,0,0.0,304,0.06,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nicla:nicla_vision,368,0.02,0,0.0,120,0.01,0,0.0,256,0.01,0,0.0,296,0.02,0,0.0,304,0.02,0,0.0,304,0.02,0,0.0,240,0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A
arduino:renesas_portenta:portenta_c33,384,0.02,0,0.0,128,0.01,0,0.0,272,0.01,0,0.0,304,0.01,0,0.0,324,0.02,0,0.0,356,0.02,0,0.0,256,0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:renesas_uno:unor4wifi,368,0.14,0,0.0,120,0.05,0,0.0,256,0.1,0,0.0,304,0.12,0,0.0,304,0.12,0,0.0,352,0.13,0,0.0,256,0.1,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:samd:mkrwifi1010,408,0.16,0,0.0,144,0.05,0,0.0,272,0.1,0,0.0,328,0.13,0,0.0,360,0.14,0,0.0,376,0.14,0,0.0,248,0.09,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0

@sebromero sebromero merged commit 6b52463 into main Jun 14, 2024
25 checks passed
@sebromero sebromero deleted the persistence branch June 14, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants