-
Notifications
You must be signed in to change notification settings - Fork 925
Closed
Description
Version
latest master
Description
When using the latest wolfSSL for Arduino with an Arduino Nano ESP32, the following error is observed when compiling the wolfssl_client example.
Note the wolfSSL library itself compiles and appears to be fully functional; only the example WiFi initialization is problematic.
C:\workspace\wolfssl-gojimmypi\IDE\ARDUINO\sketches\wolfssl_client\wolfssl_client.ino: In function 'int setup_network()':
C:\workspace\wolfssl-gojimmypi\IDE\ARDUINO\sketches\wolfssl_client\wolfssl_client.ino:375:26: error: 'WL_NO_MODULE' was not declared in this scope
if (WiFi.status() == WL_NO_MODULE) {
^~~~~~~~~~~~
C:\workspace\wolfssl-gojimmypi\IDE\ARDUINO\sketches\wolfssl_client\wolfssl_client.ino:375:26: note: suggested alternative: 'WL_NO_SHIELD'
if (WiFi.status() == WL_NO_MODULE) {
^~~~~~~~~~~~
WL_NO_SHIELD
C:\workspace\wolfssl-gojimmypi\IDE\ARDUINO\sketches\wolfssl_client\wolfssl_client.ino:381:22: error: 'class WiFiClass' has no member named 'firmwareVersion'
String fv = WiFi.firmwareVersion();
^~~~~~~~~~~~~~~
C:\workspace\wolfssl-gojimmypi\IDE\ARDUINO\sketches\wolfssl_client\wolfssl_client.ino:382:14: error: 'WIFI_FIRMWARE_LATEST_VERSION' was not declared in this scope
if (fv < WIFI_FIRMWARE_LATEST_VERSION) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\workspace\wolfssl-gojimmypi\IDE\ARDUINO\sketches\wolfssl_client\wolfssl_client.ino:382:14: note: suggested alternative: 'IO_MUX_DATE_VERSION'
if (fv < WIFI_FIRMWARE_LATEST_VERSION) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
IO_MUX_DATE_VERSION
Multiple libraries were found for "WiFi.h"
Used: C:\Users\gojimmypi\AppData\Local\Arduino15\packages\arduino\hardware\esp32\2.0.13\libraries\WiFi
Not used: C:\Users\gojimmypi\Documents\Arduino\libraries\WiFiNINA
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels