khoih-prog / AsyncHTTPRequest_Generic

Simple Async HTTP Request library, supporting GET, POST, PUT, PATCH, DELETE and HEAD, on top of AsyncTCP libraries, such as AsyncTCP, ESPAsyncTCP, AsyncTCP_STM32, etc.. for ESP32 (including ESP32_S2, ESP32_S3 and ESP32_C3), WT32_ETH01 (ESP32 + LAN8720), ESP8266 (WiFi or W5x00) and currently STM32 with built-in LAN8742A Ethernet.
GNU General Public License v3.0
95 stars 29 forks source link

Compilation for ESP32 in PIO requests STM32 framework files? #32

Closed manuelgonzalvez closed 2 years ago

manuelgonzalvez commented 2 years ago

Hi, just added the library via platformio.ini, but i guess it is failing to determine the board i am using, as it is requesting some STM32 Ethernet headers, which i do not have and do not plan to install.

Is it strictly neccesary to download STM32 platform?

Thanks!

khoih-prog commented 2 years ago

You have to get more knowledge about PIO, then edit to remove unnecessary dependencies out of platformio.ini or library.json.

This has nothing to do with this library, and I suggest next time ask in Discussions or PIO Forum