Thiese are the errors I’m receiving:
Arduino: 1.8.13 (Linux), Board: “Seeeduino Wio Terminal, Master, Enabled, 120 MHz (standard), Small (-Os) (standard), 50 MHz (standard), Arduino, Off, On”
/home/withheld/Arduino/libraries/Seeed_Arduino_rpcWiFi/src/WiFiSTA.cpp: In member function ‘bool WiFiSTAClass::config(IPAddress, IPAddress, IPAddress, IPAddress, IPAddress)’:
/home/withheld/Arduino/libraries/Seeed_Arduino_rpcWiFi/src/WiFiSTA.cpp:364:20: error: ‘struct tcpip_adapter_dns_info_t’ has no member named ‘ipv4’; did you mean ‘ip’?
tcpip_dns0.ipv4 = dns1;
^~~~
ip
/home/withheld/Arduino/libraries/Seeed_Arduino_rpcWiFi/src/WiFiSTA.cpp:372:20: error: ‘struct tcpip_adapter_dns_info_t’ has no member named ‘ipv4’; did you mean ‘ip’?
tcpip_dns1.ipv4 = dns2;
^~~~
ip
/home/withheld/Arduino/libraries/Seeed_Arduino_rpcWiFi/src/WiFiSTA.cpp: In member function ‘IPAddress WiFiSTAClass::dnsIP(uint8_t)’:
/home/withheld/Arduino/libraries/Seeed_Arduino_rpcWiFi/src/WiFiSTA.cpp:564:39: error: ‘struct tcpip_adapter_dns_info_t’ has no member named ‘ipv4’; did you mean ‘ip’?
return IPAddress(tcpip_dns_ip.ipv4);
^~~~
ip
/home/withheld/Arduino/libraries/Seeed_Arduino_rpcWiFi/src/WiFiSTA.cpp:567:39: error: ‘struct tcpip_adapter_dns_info_t’ has no member named ‘ipv4’; did you mean ‘ip’?
return IPAddress(tcpip_dns_ip.ipv4);
^~~~
ip
exit status 1
Error compiling for board Seeeduino Wio Terminal.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
Because I’ve read that github has issues with links, I’m using the dev (or dev-dns) branches for these:
Seeed_Arduino_mbedtls
Seeed_Arduino_rpcUnified
Seeed_Arduino_rpcWiFi
I’m using the dev branches because I had been receiving an error that the compiler couldn’t find esp_system.h
Also, we have updated the RTL8720 firmware to version v2.0.4. Please follow this wiki to update the firmware.
Make sure to update the SAMD Core of Wio Terminal by visiting Arduino IDE.
Go to Tools > Board > Boards Manager
Type Wio Terminal in the search box
Select version 1.8.1 and install
I have also noticed that you have Seeed_Arduino_FreeRTOS library installed. Actually, you can delete that library because the new SAMD Core of Wio Terminal includes that library. You can check here the libraries that are pre-installed.
@lakshan Thank you for posting about the updates of the WiFi-related libraries.
Actually, they went unnoticed as they are not managed through the standard library manager of the menu Sketch > Include Library > Manage Libraires… on the Arduino IDE.
I used the branches you indicated for the libraries. I used “git clone”. That is probably habit at this point.
I had done the firmware update, so that was good.
The Arduino Boards Manager reported that I had SAMD Core of 1.8.1 installed, but the .arduino15/packages/Seeeduino/hardware/samd/1.8.1/libraries directory lacked the FreeRTOS and LCD directories. So I uninstalled 1.8.1 and reinstalled it using Arduino and then the FreeRTOS and LCD directories were there.