Closed
Description
Basic Infos
- This issue complies with the issue POLICY doc.
- I have read the documentation at readthedocs and the issue is not addressed there.
- I have tested that the issue is present in current master branch (aka latest git).
- I have searched the issue tracker for a similar issue.
- If there is a stack dump, I have decoded it.
- I have filled out all fields below.
Platform
- Hardware: [WiFiduino (ESP-12)]
- Core Version: 8b3f496
- Development Env: [Arduino IDE 1.8.8]
- Operating System: [Windows]
Settings in IDE
- Module: [WiFiduino]
- Flash Mode: [dio]
- Flash Size: [4MB-3MBSPIFFS]
- lwip Variant: [v2 Lower Memory]
- Reset Method: [ck|nodemcu]
- Flash Frequency: [40Mhz]
- CPU Frequency: [80Mhz]
- Upload Using: [SERIAL]
- Upload Speed: [115200] (serial upload only)
Problem Description
can not compile with smartconfig. latest three day, i had test with the latest git version every day, but all con`t compile.the package i download at 27 november can compile smartconfig codes.
MCVE Sketch
#include <ESP8266WiFi.h>
#define LED 2
void smartConfig()
{
WiFi.mode(WIFI_STA);
Serial.println("\r\nWait for Smartconfig");
WiFi.beginSmartConfig();
while (1)
{
Serial.print(".");
digitalWrite(LED, 0);
delay(500);
digitalWrite(LED, 1);
delay(500);
if (WiFi.smartConfigDone())
{
Serial.println("SmartConfig Success");
Serial.printf("SSID:%s\r\n", WiFi.SSID().c_str());
Serial.printf("PSW:%s\r\n", WiFi.psk().c_str());
break;
}
}
}
void setup()
{
Serial.begin(115200);
Serial.println("Start module");
pinMode(LED, OUTPUT);
digitalWrite(LED, 0);
smartConfig();
}
void loop()
{
delay(100);
Serial.println("Start module");
}
Debug Messages
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_sniffer.o):(.text.smartconfig_stop+0x2c): undefined reference to `espconn_delete'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_sniffer.o):(.text.smartconfig_stop+0x61): undefined reference to `espconn_delete'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_sniffer.o): in function `smartconfig_stop':
(.text.smartconfig_stop+0x104): undefined reference to `espconn_delete'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Send_udp+0x8): undefined reference to `espconn_sent'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Send_udp+0x79): undefined reference to `espconn_sent'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Udp_send_cb+0x3a): undefined reference to `espconn_delete'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Answer+0x14): undefined reference to `espconn_port'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Answer+0x18): undefined reference to `espconn_regist_sentcb'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Answer+0x1c): undefined reference to `espconn_create'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Answer+0x7d): undefined reference to `espconn_port'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Answer+0xa8): undefined reference to `espconn_regist_sentcb'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_airkiss.o):(.text.KISS_Answer+0xb0): undefined reference to `espconn_create'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_Send_platform+0x85): undefined reference to `espconn_sent'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_udp_send_cb+0x6a): undefined reference to `espconn_delete'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_Send_ACK+0x14): undefined reference to `espconn_regist_recvcb'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_Send_ACK+0x52): undefined reference to `espconn_port'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_Send_ACK+0x7d): undefined reference to `espconn_regist_sentcb'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_Send_ACK+0x89): undefined reference to `espconn_regist_recvcb'
c:/users/12102/documents/arduino/hardware/esp8266/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\12102\Documents\Arduino\hardware\esp8266\esp8266/tools/sdk/lib\libsmartconfig.a(sc_esptouch.o):(.text.TOUCH_Send_ACK+0x92): undefined reference to `espconn_create'
collect2.exe: error: ld returned 1 exit status
Metadata
Metadata
Assignees
Labels
No labels