Marlin dependency graph incomplete

Hello, I have a problem compiling Marlin. I have enabled the functions to use Esp3D in Marlin. When compiling I get a Dependency Graph like this:

|-- TMCStepper @ 0.7.3
|   |-- SoftwareSerial @ 1.0
|   |-- SPI @ 1.0
|-- Adafruit NeoPixel @ 1.8.7
|-- U8glib-HAL @ 0.4.5
|   |-- Wire @ 1.0
|   |-- SPI @ 1.0
|-- ESP Async WebServer @ 1.2.3
|-- ESP3DLib @ 1.0.11
|   |-- U8glib-HAL @ 0.4.5
|   |   |-- Wire @ 1.0
|   |   |-- SPI @ 1.0
|   |-- WebSockets @ 2.3.4
|   |   |-- SPI @ 1.0
|   |-- ESP32SSDP @ 1.2.0
|-- WebSockets @ 2.3.4
|   |-- SPI @ 1.0
|-- ESP32SSDP @ 1.2.0
|-- SPI @ 1.0
|-- SoftwareSerial @ 1.0
|-- IWatchdog @ 1.0.0
|-- Servo @ 1.1.2
|-- Wire @ 1.0

But according to “ESP Async WebServer” library requirements needs “ESPAsyncTCP” library, what it isn’t in the dependency grapht. But ESPAsyncTCP is automatically installed by platformio.

When I tray to compile obtain the error:

In file included from .pio\libdeps\BIGTREE_SKR_2\ESP Async WebServer\src\AsyncEventSource.cpp:21:
.pio\libdeps\BIGTREE_SKR_2\ESP Async WebServer\src\AsyncEventSource.h:27:10: fatal error: ESPAsyncTCP.h: No such file or directory

I try to add to platformio.ini the directives, without success.

lib_ldf_mode = deep
lib_ldf_mode = deep+
lib_ldf_mode = chain
lib_ldf_mode = chain+

Does anyone know what the solution is?

Thanks in advance.

…but this is a STM32F4 based board per GitHub - bigtreetech/SKR-2? If your Esp3D library has a hard dependency on ESP Async Webserver, and that library

is only working for ESP8266 and ESP32, you can’t use it on an STM32. (Without modifying the esp3d lib to get rid of that dependency).

Same for

Pretty sure setting lib_compat_mode = off would make it show in the dependency graph, but compilation would immedidately crash + burn due to missing ESP header headers like WiFi.h.

Edit: Or, seems like you’ve just not selected your right board and are actually compiling for an ESP8266/ESP32?

Thanks for your answer. I actually have ESP3D compiled on an external board with an ESP8266 connected to my BTT SKR2 via UART. I guess I have configured it wrong and what I am doing is compiling ESP3D on the BTT board.
Does anyone know how to configure Marlin to accept instructions via UART from ESP3D?
Thanks.