So far, I can skip this error by adding this line to Makefile:
INC += -I$(TOP)/lib/lwip/src/include
But now I've another error:
In file included from network_ppp.c:39:0:
../../lib/lwip/src/include/lwip/sockets.h:428:2: error: #error LWIP_SOCKET_OFFSET does not work with external FD_SET!
error LWIP_SOCKET_OFFSET does not work with external FD_SET!
Fo the last error, I commented the line 408 in $(TOP)/lib/lwip/src/include/lwip/sockets.h
/ FD_SET used for lwip_select / // LINE 407
//#ifndef FD_SET // LINE 408
Compiling PyCopy 1.11 with the suggested ESP-IDF branch I get this error: unknown type name 'ppp_pcb'
Seems to be happening in Loboris fork too: https://github.com/loboris/ESP32-PPPOS-EXAMPLE/issues/15
So far, I can skip this error by adding this line to Makefile:
But now I've another error:
Fo the last error, I commented the line 408 in $(TOP)/lib/lwip/src/include/lwip/sockets.h
...and added these in the next line (409):
Source: https://github.com/espressif/esp-idf/issues/1141
But again, I got another error:
All of this seems to be related to esp-idf since the change constantly. I'm working in the suggested branch for PyCopy 1.1: 5c88c5996
Any help will be appreciated :)
👋