These are chat archives for esp8266/Arduino

19th
Jan 2019
liebman
@liebman
Jan 19 18:04
Something must be off with the build command for device tests.
/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/tools/sdk/include -I/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/tools/sdk/lwip/include -I/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/tools/sdk/libc/xtensa-lx106-elf/include -I/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.build/test_WiFiServer.ino/core -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DF_CPU=80000000L -DLWIP_OPEN_SRC -DDEBUG_ESP_PORT=Serial -DARDUINO=10608 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DFLASHMODE_DIO -DESP8266 -I/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/cores/esp8266 -I/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/variants/generic -I/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/libraries/ESP8266WiFi/src -I/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/libraries/ESP8266mDNS/src -I/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/libraries/BSTest/src /Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/libraries/ESP8266mDNS/src/LEAmDNS_Control.cpp -o /Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.build/test_WiFiServer.ino/libraries/ESP8266mDNS/LEAmDNS_Control.cpp.o
/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/libraries/ESP8266mDNS/src/LEAmDNS_Transfer.cpp: In member function 'IPAddress esp8266::MDNSImplementation::MDNSResponder::_getResponseMulticastInterface(int) const':
/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/libraries/ESP8266mDNS/src/LEAmDNS_Transfer.cpp:392:108: error: 'ip4_addr_netcmp' was not declared in this scope
             (ip4_addr_netcmp(ip_2_ip4((const ip_addr_t*)IP_Remote), &IPInfo_Local.ip, &IPInfo_Local.netmask))) { // Remote address is in the same subnet as the AP
                                                                                                            ^
In file included from /Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/libraries/ESP8266mDNS/src/LEAmDNS_Helpers.cpp:27:0:
/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/libraries/ESP8266mDNS/src/LEAmDNS_Helpers.cpp: In member function 'bool esp8266::MDNSImplementation::MDNSResponder::_allocUDPContext()':
/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/libraries/ESP8266mDNS/src/LEAmDNS_lwIPdefs.h:35:61: error: conversion from 'u32_t {aka long unsigned int}' to non-scalar type 'ip_addr_t {aka ip_addr}' requested
 #define DNS_MQUERY_IPV4_GROUP_INIT ipaddr_addr("224.0.0.251") /* resolver1.opendns.com */
                                                             ^
/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/.hardware/esp8266com/esp8266/libraries/ESP8266mDNS/src/LEAmDNS_Helpers.cpp:196:34: note: in expansion of macro 'DNS_MQUERY_IPV4_GROUP_INIT'
     ip_addr_t   multicast_addr = DNS_MQUERY_IPV4_GROUP_INIT;
                                  ^
/Users/chris.l/Dropbox/git/ESP8266Testing/hardware/esp8266com/esp8266/tests/device/
ok - that formatted badly - the upshot is that
ESP8266mDNS/src/LEAmDNS_Transfer.cpp:392:108: error: 'ip4_addr_netcmp' was not declared in this scop
Clemens Kirchgatterer
@everslick
Jan 19 21:04
@liebman switch to lwip2. Lwip1 is broken ATM.
liebman
@liebman
Jan 19 21:51
@everslick I think its using lwip2 low memory "-fqbn=esp8266com:esp8266:generic:xtal=80,FlashFreq=40,FlashMode=dio,baud=115200,eesz=4M1M,ip=lm2,ResetMethod=none,dbg=Serial,DebugLevel=None__"
I take that back - lm2 matches nothing in boards.txt
david gauchard
@d-a-v
Jan 19 21:56
lm2f
liebman
@liebman
Jan 19 21:57
yep - was just noticeing that - fixed - too bad it did not complain - thanks for the pointer!
I’ll make a PR for the devices Makefile to change that