-
Notifications
You must be signed in to change notification settings - Fork 80
Add UNO R4 WiFi basic support #366
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
Conversation
About the failure of the "Unit Tests" workflow run: We have been seeing a recent increase in these spurious failures caused by intermittent errors while uploading the coverage data to Codecov. The Tooling Team has had success by adding the upload token as suggested in the error message: There is a detailed explanation of our chosen approach in the commit message here: If you think that approach would be appropriate for this project, I will be happy to submit a pull request to make the equivalent change in the "Unit Tests" workflow. |
Thanks @per1234 that would be perfect! |
Memory usage change @ 0969755
Click for full report table
Click for full report CSV
|
rebased to fix conflicts |
Codecov Report
@@ Coverage Diff @@
## master #366 +/- ##
=======================================
Coverage 95.00% 95.00%
=======================================
Files 27 27
Lines 1220 1220
=======================================
Hits 1159 1159
Misses 61 61 |
Memory usage change @ 44f92b0
Click for full report table
Click for full report CSV
|
src/ArduinoIoTCloudTCP.cpp
Outdated
@@ -327,6 +327,12 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_ConnectMqttBroker() | |||
reconnection_retry_delay = min(reconnection_retry_delay, static_cast<unsigned long>(AIOT_CONFIG_MAX_RECONNECTION_RETRY_DELAY_ms)); | |||
_next_connection_attempt_tick = millis() + reconnection_retry_delay; | |||
|
|||
#if defined(ARDUINO_UNOWIFIR4) | |||
if (String(WiFi.firmwareVersion()) < String("0.2.0")) { | |||
DEBUG_ERROR("ArduinoIoTCloudTCP::%s In order to connect to Arduino IoT Cloud, WiFI firmware needs to be >= 0.2.0, current %s", __FUNCTION__, WiFi.firmwareVersion()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should read WiFi firmware
instead of WiFI firmware
(with lowercase i)
To connect to ArduinoIoTCloud WiFi firmware need to be updated. The minimum required version is
0.2.0
.Pre release of the firmware is available here: https://github.com/arduino/uno-r4-wifi-usb-bridge/releases/tag/0.2.0
Updater tool for linux, win, macos.
Instructions for flashing the new firmware available here