Simulink Arduino arduinomeg​a2560_wifi​tcpsend Undefined Reference to function during Build

2 vues (au cours des 30 derniers jours)
Hi,
I have an Arduino Mega 2560 with an ESP8266 built onto the board that communicates with arduino via Serial Port 3. When attempting the build and deploy process of example "arduinomega2560_wifitcpsend", I get the following errors:
MW_WiFiTCP.o: In function `MW_WifiAndWifiTCPServerBegin':
MW_WiFiTCP.cpp:(.text.MW_WifiAndWifiTCPServerBegin+0x62): undefined reference to `wifiLocalIpAddress()'
MW_WiFiTCP.cpp:(.text.MW_WifiAndWifiTCPServerBegin+0x64): undefined reference to `wifiLocalIpAddress()'
collect2.exe: error: ld returned 1 exit status gmake[1]: *** [../arduinomega2560_wifitcpsend.elf] Error 1
To clarify, I did input my wifi network properties in the hardware properties menu.
I am able to write a sketch to the arduino and communicate with the esp8266 via serial, the issue arises when I attempt to use the simulink wifi TCP/IP send block.
Any help with this issue would be appreciated.

Réponses (0)

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by