Skip to content

Handle opta lite #23

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

Merged
merged 2 commits into from
Aug 21, 2025
Merged

Handle opta lite #23

merged 2 commits into from
Aug 21, 2025

Conversation

fabik111
Copy link
Collaborator

@fabik111 fabik111 commented Aug 14, 2025

Problem

The Opta Lite has only ethernet connectivity and it is not equipped neither with WiFi neither with BLE but it has the same target in the core. Having a sketch with the NetworkConfigurator causes crashes of the Opta Lite

Changes

  • Recognize at run time if the board is equipped with the WiFi and BLE
  • the board doesn't turn on the WiFi or BLE
  • use the green led instead of the blue led for the "connected with peer" and the button pressed feedbacks since only Opta WiFi has the blue led

Copy link

codecov bot commented Aug 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.27%. Comparing base (e9491c0) to head (32eef45).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #23   +/-   ##
=======================================
  Coverage   90.27%   90.27%           
=======================================
  Files           7        7           
  Lines         720      720           
  Branches       86       86           
=======================================
  Hits          650      650           
  Misses         70       70           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Memory usage change @ 40d8da6

Board flash % RAM for global variables %
arduino:mbed_giga:giga 💚 -170936 - 0 -8.69 - 0.0 💚 -11088 - 0 -2.12 - 0.0
arduino:mbed_nano:nanorp2040connect ❔ -41472 - +2 -0.25 - 0.0 💚 -2316 - 0 -0.86 - 0.0
arduino:mbed_nicla:nicla_vision 💚 -170944 - 0 -8.69 - 0.0 💚 -11088 - 0 -2.12 - 0.0
arduino:mbed_opta:opta ❔ -170072 - +144 -8.65 - +0.01 💚 -11136 - 0 -2.13 - 0.0
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 💚 -39940 - 0 -1.9 - 0.0 💚 -2396 - 0 -0.46 - 0.0
arduino:renesas_uno:unor4wifi 💚 -41540 - 0 -15.85 - 0.0 💚 -2624 - 0 -8.01 - 0.0
arduino:samd:mkrwifi1010 💚 -41304 - 0 -15.76 - 0.0 💚 -2328 - 0 -7.1 - 0.0
arduino:samd:nano_33_iot 💚 -41136 - 0 -15.69 - 0.0 💚 -2328 - 0 -7.1 - 0.0
Click for full report table
Board examples/NetworkConfiguratorDemo
flash
% examples/NetworkConfiguratorDemo
RAM for global variables
% examples/utility/DeleteConfiguration
flash
% examples/utility/DeleteConfiguration
RAM for global variables
%
arduino:mbed_giga:giga 0 0.0 0 0.0 -170936 -8.69 -11088 -2.12
arduino:mbed_nano:nanorp2040connect 2 0.0 0 0.0 -41472 -0.25 -2316 -0.86
arduino:mbed_nicla:nicla_vision 0 0.0 0 0.0 -170944 -8.69 -11088 -2.12
arduino:mbed_opta:opta 144 0.01 0 0.0 -170072 -8.65 -11136 -2.13
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 0 0.0 0 0.0 -39940 -1.9 -2396 -0.46
arduino:renesas_uno:unor4wifi 0 0.0 0 0.0 -41540 -15.85 -2624 -8.01
arduino:samd:mkrwifi1010 0 0.0 0 0.0 -41304 -15.76 -2328 -7.1
arduino:samd:nano_33_iot 0 0.0 0 0.0 -41136 -15.69 -2328 -7.1
Click for full report CSV
Board,examples/NetworkConfiguratorDemo<br>flash,%,examples/NetworkConfiguratorDemo<br>RAM for global variables,%,examples/utility/DeleteConfiguration<br>flash,%,examples/utility/DeleteConfiguration<br>RAM for global variables,%
arduino:mbed_giga:giga,0,0.0,0,0.0,-170936,-8.69,-11088,-2.12
arduino:mbed_nano:nanorp2040connect,2,0.0,0,0.0,-41472,-0.25,-2316,-0.86
arduino:mbed_nicla:nicla_vision,0,0.0,0,0.0,-170944,-8.69,-11088,-2.12
arduino:mbed_opta:opta,144,0.01,0,0.0,-170072,-8.65,-11136,-2.13
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A
arduino:renesas_portenta:portenta_c33,0,0.0,0,0.0,-39940,-1.9,-2396,-0.46
arduino:renesas_uno:unor4wifi,0,0.0,0,0.0,-41540,-15.85,-2624,-8.01
arduino:samd:mkrwifi1010,0,0.0,0,0.0,-41304,-15.76,-2328,-7.1
arduino:samd:nano_33_iot,0,0.0,0,0.0,-41136,-15.69,-2328,-7.1

@fabik111 fabik111 marked this pull request as ready for review August 18, 2025 08:07
Copy link

Memory usage change @ 27f57ba

Board flash % RAM for global variables %
arduino:mbed_giga:giga 💚 -170936 - 0 -8.69 - 0.0 💚 -11088 - 0 -2.12 - 0.0
arduino:mbed_nano:nanorp2040connect ❔ -41472 - +2 -0.25 - 0.0 💚 -2316 - 0 -0.86 - 0.0
arduino:mbed_nicla:nicla_vision 💚 -170944 - 0 -8.69 - 0.0 💚 -11088 - 0 -2.12 - 0.0
arduino:mbed_opta:opta ❔ -170072 - +144 -8.65 - +0.01 💚 -11136 - 0 -2.13 - 0.0
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 💚 -39940 - 0 -1.9 - 0.0 💚 -2396 - 0 -0.46 - 0.0
arduino:renesas_uno:unor4wifi 💚 -41540 - 0 -15.85 - 0.0 💚 -2624 - 0 -8.01 - 0.0
arduino:samd:mkrwifi1010 💚 -41304 - 0 -15.76 - 0.0 💚 -2328 - 0 -7.1 - 0.0
arduino:samd:nano_33_iot 💚 -41136 - 0 -15.69 - 0.0 💚 -2328 - 0 -7.1 - 0.0
Click for full report table
Board examples/NetworkConfiguratorDemo
flash
% examples/NetworkConfiguratorDemo
RAM for global variables
% examples/utility/DeleteConfiguration
flash
% examples/utility/DeleteConfiguration
RAM for global variables
%
arduino:mbed_giga:giga 0 0.0 0 0.0 -170936 -8.69 -11088 -2.12
arduino:mbed_nano:nanorp2040connect 2 0.0 0 0.0 -41472 -0.25 -2316 -0.86
arduino:mbed_nicla:nicla_vision 0 0.0 0 0.0 -170944 -8.69 -11088 -2.12
arduino:mbed_opta:opta 144 0.01 0 0.0 -170072 -8.65 -11136 -2.13
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 0 0.0 0 0.0 -39940 -1.9 -2396 -0.46
arduino:renesas_uno:unor4wifi 0 0.0 0 0.0 -41540 -15.85 -2624 -8.01
arduino:samd:mkrwifi1010 0 0.0 0 0.0 -41304 -15.76 -2328 -7.1
arduino:samd:nano_33_iot 0 0.0 0 0.0 -41136 -15.69 -2328 -7.1
Click for full report CSV
Board,examples/NetworkConfiguratorDemo<br>flash,%,examples/NetworkConfiguratorDemo<br>RAM for global variables,%,examples/utility/DeleteConfiguration<br>flash,%,examples/utility/DeleteConfiguration<br>RAM for global variables,%
arduino:mbed_giga:giga,0,0.0,0,0.0,-170936,-8.69,-11088,-2.12
arduino:mbed_nano:nanorp2040connect,2,0.0,0,0.0,-41472,-0.25,-2316,-0.86
arduino:mbed_nicla:nicla_vision,0,0.0,0,0.0,-170944,-8.69,-11088,-2.12
arduino:mbed_opta:opta,144,0.01,0,0.0,-170072,-8.65,-11136,-2.13
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A
arduino:renesas_portenta:portenta_c33,0,0.0,0,0.0,-39940,-1.9,-2396,-0.46
arduino:renesas_uno:unor4wifi,0,0.0,0,0.0,-41540,-15.85,-2624,-8.01
arduino:samd:mkrwifi1010,0,0.0,0,0.0,-41304,-15.76,-2328,-7.1
arduino:samd:nano_33_iot,0,0.0,0,0.0,-41136,-15.69,-2328,-7.1

Copy link

Memory usage change @ 32eef45

Board flash % RAM for global variables %
arduino:mbed_giga:giga 💚 -170872 - 0 -8.69 - 0.0 💚 -11088 - 0 -2.12 - 0.0
arduino:mbed_nano:nanorp2040connect ❔ -41460 - +42 -0.25 - 0.0 ❔ -2308 - +8 -0.85 - 0.0
arduino:mbed_nicla:nicla_vision 💚 -170944 - 0 -8.69 - 0.0 💚 -11088 - 0 -2.12 - 0.0
arduino:mbed_opta:opta ❔ -170072 - +208 -8.65 - +0.01 💚 -11136 - 0 -2.13 - 0.0
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 ❔ -39932 - +8 -1.9 - 0.0 💚 -2388 - 0 -0.46 - 0.0
arduino:renesas_uno:unor4wifi ❔ -41540 - +32 -15.85 - +0.01 💚 -2616 - 0 -7.98 - 0.0
arduino:samd:mkrwifi1010 ❔ -41296 - +40 -15.75 - +0.02 💚 -2320 - 0 -7.08 - 0.0
arduino:samd:nano_33_iot ❔ -41128 - +40 -15.69 - +0.02 💚 -2320 - 0 -7.08 - 0.0
Click for full report table
Board examples/NetworkConfiguratorDemo
flash
% examples/NetworkConfiguratorDemo
RAM for global variables
% examples/utility/DeleteConfiguration
flash
% examples/utility/DeleteConfiguration
RAM for global variables
%
arduino:mbed_giga:giga 0 0.0 0 0.0 -170872 -8.69 -11088 -2.12
arduino:mbed_nano:nanorp2040connect 42 0.0 8 0.0 -41460 -0.25 -2308 -0.85
arduino:mbed_nicla:nicla_vision 0 0.0 0 0.0 -170944 -8.69 -11088 -2.12
arduino:mbed_opta:opta 208 0.01 0 0.0 -170072 -8.65 -11136 -2.13
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 8 0.0 0 0.0 -39932 -1.9 -2388 -0.46
arduino:renesas_uno:unor4wifi 32 0.01 0 0.0 -41540 -15.85 -2616 -7.98
arduino:samd:mkrwifi1010 40 0.02 0 0.0 -41296 -15.75 -2320 -7.08
arduino:samd:nano_33_iot 40 0.02 0 0.0 -41128 -15.69 -2320 -7.08
Click for full report CSV
Board,examples/NetworkConfiguratorDemo<br>flash,%,examples/NetworkConfiguratorDemo<br>RAM for global variables,%,examples/utility/DeleteConfiguration<br>flash,%,examples/utility/DeleteConfiguration<br>RAM for global variables,%
arduino:mbed_giga:giga,0,0.0,0,0.0,-170872,-8.69,-11088,-2.12
arduino:mbed_nano:nanorp2040connect,42,0.0,8,0.0,-41460,-0.25,-2308,-0.85
arduino:mbed_nicla:nicla_vision,0,0.0,0,0.0,-170944,-8.69,-11088,-2.12
arduino:mbed_opta:opta,208,0.01,0,0.0,-170072,-8.65,-11136,-2.13
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A
arduino:renesas_portenta:portenta_c33,8,0.0,0,0.0,-39932,-1.9,-2388,-0.46
arduino:renesas_uno:unor4wifi,32,0.01,0,0.0,-41540,-15.85,-2616,-7.98
arduino:samd:mkrwifi1010,40,0.02,0,0.0,-41296,-15.75,-2320,-7.08
arduino:samd:nano_33_iot,40,0.02,0,0.0,-41128,-15.69,-2320,-7.08

@fabik111 fabik111 requested a review from pennam August 20, 2025 09:27
@fabik111 fabik111 merged commit 9763fbc into main Aug 21, 2025
29 checks passed
@fabik111 fabik111 deleted the fix-opta-lite branch August 21, 2025 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants