Skip to content

ESP32 driver fails when enabling either WebUI, Telnet or Websocket in platformio.ini #653

@msepulve

Description

@msepulve

Hi!
As described in issue #637, I’m experience exactly the same problem but tracked it to the enabling of any of WebUI, Telnet or Websocket.
I’m compiling the fw with PlatformIO under Ubuntu 24. Fresh installation following step by step the installation process described for grblHAL. Target board is MKS TinyBee Bee that works fine with files from Web Builder.
File partitions_8mb.csv is the same used by Web Builder and sdkconfig.mkstb is just sdkconfig modified to take account of the 8 MB of flash, the partitions_8mb.csv table and 240 MHz.
Please help me to find out what brokers the working of the driver making it cycle.
my platformio.mkstb.ini is as follows:
[platformio]
src_dir = main
include_dir = main

[wifi_networking]
build_flags =

[env:mkstb]
platform = espressif32 @ ~4.0.0
framework = espidf
board = esp32dev
board_build.partitions = partitions_8mb.csv
board_build.filesystem = littlefs
board_build.embed_files =
  main/embedded/favicon.ico
  main/embedded/ap_login.html
  main/embedded/index.html.gz
build_flags =
  -Wimplicit-fallthrough=1
  -Wno-missing-field-initializers
  -Wno-maybe-uninitialized
  -Wno-stringop-truncation
  ${wifi_networking.build_flags}
  -D SDKCONFIG_DEFAULTS="sdkconfig.mkstb"
  -D WEB_BUILD
  -D BOARD_MKS_TINYBEE_V1
  -D OVERRIDE_MY_MACHINE=1
  -D TMC_STEALTHCHOP=0
  -D LWIP_HTTPD_CUSTOM_FILES=0
  -D LWIP_HTTPD_DYNAMIC_HEADERS=1
  -D LWIP_HTTPD_SUPPORT_V09=0
  -D LWIP_HTTPD_SUPPORT_11_KEEPALIVE=1
  -D LWIP_HTTPD_SUPPORT_POST=1
  -D LWIP_HTTPD_DYNAMIC_FILE_READ=1
  -D PROBE_ENABLE=1
  -D SDCARD_ENABLE=1
  -D WIFI_ENABLE=1
  -D WIFI_SOFTAP=1
  -D CONFIG_LITTLEFS_MOUNT_ROOT
#  -D WEBUI_ENABLE=1
#  -D TELNET_ENABLE=1
#  -D WEBSOCKET_ENABLE=1
  -D HTTP_ENABLE=1
  -D MDNS_ENABLE=1
  -D SSDP_ENABLE=1
  -D SPINDLE0_ENABLE=7
  -D N_SPINDLE=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions