Skip to content

[BUG] WIFISUPPORT abuse #26624

Open
Open
@ellensp

Description

@ellensp

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

WIFISUPPORT was added to Marlin in #11020
Exclusively for ESP32 based controllers.

Recently the define has been usurped to also include esp modules that have additional IO pins
#25586

But this makes no sense as WIFISUPPORT makes marlin include the following esp32 only libraries

(ESP3D_)?WIFISUPPORT                   = AsyncTCP, ESP Async WebServer
                                         ESP3DLib=https://github.com/luc-github/ESP3DLib/archive/dc0f3d96c6.zip
                                         arduinoWebSockets=links2004/[email protected]
                                         luc-github/[email protected]

This PR also broke allowing a standard SERIAL_PORT_2 on a ESP32 based controller
#26611
Also websockets on esp32 is currently broken..

Further the PR "Clarify WIFISUPPORT", did not clarify anything, most users have no idea if their module is "simple WiFi serial port" or not.
#26097

This directly leads to users creating issues such as #26622

Bug Timeline

Since Mar 29, 2023

Expected behavior

enabling WIFISUPPORT to behave as inteneded, one way or the other

Actual behavior

enabling WIFISUPPORT includes esp32 only librarys for all boards and does not work for modules

Steps to Reproduce

enable WIFISUPPORT on a random non esp32 based controller.

Version of Marlin Firmware

Bugfix-2.1.x

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions