Closed as not planned
Description
Board
esp32
Device Description
not important
Hardware Configuration
not important
Version
v2.0.3
IDE Name
platformio
Operating System
linux
Flash frequency
40
PSRAM enabled
no
Upload speed
115200
Description
Maybe i am just using old and outdated esp_modem library, but here is the problem.
#include "esp_netif_ppp.h"
- this header exist
- declarations of missing functions also exist in this header
- looks like definitions are not compiled
With v2.0.0 everything works fine, but i wanted to migrate to v2.0.3 and onward.
After comparing sdkconfig files i am guessing its because PPP is disabled. Here is diff between sdkconfig.h files:
< 2.0.0
> 2.0.3
< #define CONFIG_LWIP_MAX_SOCKETS 10
> #define CONFIG_LWIP_MAX_SOCKETS 16
> #define CONFIG_LWIP_DHCP_DISABLE_VENDOR_CLASS_ID 1
> #define CONFIG_LWIP_DHCP_OPTIONS_LEN 128
< #define CONFIG_LWIP_IPV6_RDNSS_MAX_DNS_SERVERS 0
< #define CONFIG_LWIP_PPP_SUPPORT 1
< #define CONFIG_LWIP_PPP_ENABLE_IPV6 1
< #define CONFIG_LWIP_PPP_PAP_SUPPORT 1
< #define CONFIG_LWIP_PPP_CHAP_SUPPORT 1
< #define CONFIG_LWIP_PPP_MSCHAP_SUPPORT 1
< #define CONFIG_LWIP_PPP_MPPE_SUPPORT 1
> #define CONFIG_LWIP_SNTP_MAX_SERVERS 3
> #define CONFIG_LWIP_DHCP_GET_NTP_SRV 1
< #define CONFIG_PPP_CHAP_SUPPORT CONFIG_LWIP_PPP_CHAP_SUPPORT
< #define CONFIG_PPP_MPPE_SUPPORT CONFIG_LWIP_PPP_MPPE_SUPPORT
< #define CONFIG_PPP_MSCHAP_SUPPORT CONFIG_LWIP_PPP_MSCHAP_SUPPORT
< #define CONFIG_PPP_PAP_SUPPORT CONFIG_LWIP_PPP_PAP_SUPPORT
< #define CONFIG_PPP_SUPPORT CONFIG_LWIP_PPP_SUPPORT
> #define CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP
Now the question is, is it considered as a bug or is it on purpose, so i knew what to do with it next.
Thanks
sdkconfig-2.0.0.txt
sdkconfig-2.0.3.txt
Sketch
too big project, cant deliver small sketch
Debug Message
/home/chegewara/.platformio/packages/toolchain-xtensa-esp32@8.4.0+2021r2-patch3/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/roobuck/src/networking/lte_pppos.cpp.o:(.literal._Z13CreateLteInitv+0x20): undefined reference to `NETIF_PPP_STATUS'
/home/chegewara/.platformio/packages/toolchain-xtensa-esp32@8.4.0+2021r2-patch3/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /home/chegewara/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/lib/libesp_netif.a(esp_netif_lwip_defaults.c.obj):/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_netif/lwip/esp_netif_lwip_defaults.c:52: undefined reference to `esp_netif_lwip_ppp_input'
/home/chegewara/.platformio/packages/toolchain-xtensa-esp32@8.4.0+2021r2-patch3/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/roobuck/lib015/libmodem.a(esp_modem_netif.c.o):(.literal.esp_modem_post_attach_start+0x1c): undefined reference to `esp_netif_ppp_set_params'
/home/chegewara/.platformio/packages/toolchain-xtensa-esp32@8.4.0+2021r2-patch3/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/roobuck/lib015/libmodem.a(esp_modem_netif.c.o): in function `esp_modem_post_attach_start':
../lib/modem/src/esp_modem_netif.c:82: undefined reference to `esp_netif_ppp_set_params'
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Type
Projects
Status
Done