Skip to content
This repository was archived by the owner on Dec 23, 2020. It is now read-only.
This repository was archived by the owner on Dec 23, 2020. It is now read-only.

Arduino esp8266 build fails #3

@Pfannex

Description

@Pfannex

Hi,

I'm using the Arduino IDE 1.8.7 with the latest esp8266 Version 2.4.2 including lwIP2.
Board: WeMos D1 R1

I tried to compile this minimal sketch:

#include "ESP8266WiFi.h"
#include <w5500-lwIP.h>
void setup() {}
void loop() {}

build fails with:

Arduino: 1.8.2 (Windows 10), Board: "WeMos D1 R1, 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

In file included from C:\Users\pf\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/lwip2/include/lwip/arch.h:48:0,

                 from C:\Users\pf\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/lwip2/include/lwip/debug.h:40,

                 from C:\Users\pf\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/lwip2/include/lwipopts.h:3004,

                 from C:\Users\pf\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/lwip2/include/lwip/opt.h:51,

                 from C:\Users\pf\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/lwip2/include/lwip/netif.h:40,

                 from C:\Users\pf\Documents\Arduino\libraries\W5500lwIP\w5500-lwIP.cpp:8:

C:\Users\pf\Documents\Arduino\libraries\W5500lwIP\w5500-lwIP.cpp: In member function 'err_t Wiznet5500lwIP::start_with_dhclient()':

C:\Users\pf\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/lwip2/include/arch/cc.h:124:24: error: 'ethernet_input_LWIP2' was not declared in this scope

 #define ethernet_input ethernet_input_LWIP2

                        ^

C:\Users\pf\Documents\Arduino\libraries\W5500lwIP\w5500-lwIP.cpp:53:66: note: in expansion of macro 'ethernet_input'

     if (!netif_add(&_netif, &ip, &mask, &gw, this, netif_init_s, ethernet_input))

                                                                  ^

exit status 1
Fehler beim Kompilieren für das Board WeMos D1 R1.

How can I compile with lwip2?

regards
Pf@nne

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions