Hi,
Following the chapter with the example ‘1_1_Hello_World_WS’ I have a problem in VCode when uploading the scrript. I am familiar with Arduino but now I do not know how to handle this.
In the terminal it shows:
.pio\libdeps\esp01\AsyncTCP_RP2040W\src\AsyncTCP_RP2040W.h:73:4: error: #error For RASPBERRY_PI_PICO_W board using CYW43439 WiFi only
73 | #error For RASPBERRY_PI_PICO_W board using CYW43439 WiFi only
Why? there is no Pico?
How can I solve this? The Blink-programm works fine, It hase something to do with WiFi.
The total output:
* Executing task in folder 1_1_HelloWorld-WS: C:\Users\Wim\.platformio\penv\Scripts\platformio.exe run –target upload
Processing esp01 (platform: espressif8266; board: esp01; framework: arduino)
———————————————————————————————————Verbose mode can be enabled via `-v, –verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp01.html
PLATFORM: Espressif 8266 (4.2.1) > Espressif Generic ESP8266 ESP-01 512k
HARDWARE: ESP8266 80MHz, 80KB RAM, 512KB Flash
PACKAGES:
– framework-arduinoespressif8266 @ 3.30102.0 (3.1.2)
– tool-esptool @ 1.413.0 (4.13)
– tool-esptoolpy @ 1.30000.201119 (3.0.0)
– tool-mklittlefs @ 1.203.210628 (2.3)
– tool-mkspiffs @ 1.200.0 (2.0)
– toolchain-xtensa @ 2.100300.220621 (10.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 40 compatible libraries
Scanning dependencies…
Dependency Graph
|– ESP Async WebServer @ 3.0.6
|– ESP8266WiFi @ 1.0
|– ESPAsyncTCP-esphome @ 2.0.0
Building in release mode
Compiling .pio\build\esp01\src\main.cpp.o
Generating LD script .pio\build\esp01\ld\local.eagle.app.v6.common.ld
Compiling .pio\build\esp01\lib480\AsyncTCP_RP2040W\AsyncPrinter.cpp.o
In file included from .pio\libdeps\esp01\AsyncTCP_RP2040W\src\AsyncPrinter.h:51,
from .pio\libdeps\esp01\AsyncTCP_RP2040W\src\AsyncPrinter.cpp:51:
.pio\libdeps\esp01\AsyncTCP_RP2040W\src\AsyncTCP_RP2040W.h:73:4: error: #error For RASPBERRY_PI_PICO_W board using CYW43439 WiFi only
73 | #error For RASPBERRY_PI_PICO_W board using CYW43439 WiFi only
| ^~~~~
In file included from .pio\libdeps\esp01\AsyncTCP_RP2040W\src\AsyncPrinter.h:51,
from .pio\libdeps\esp01\AsyncTCP_RP2040W\src\AsyncPrinter.cpp:51:
.pio\libdeps\esp01\AsyncTCP_RP2040W\src\AsyncTCP_RP2040W.h:84:10: fatal error: WiFi.h: No such file or directory
Hi.
Can you take a look at this discussion and see if it helps: https://community.platformio.org/t/asynctcp-rp2040w-library-issues/42253
Regards,
Sara