WiFi.h: No such file...... #1576
-
Has that happened to you? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Wouldn't you rather file an issue or a question with PlatformIO ? I googled your issue and it seems that adding lib_ldf_mode = chain+ to the platformio.ini will make the issue go away The following is working for me for your example
ps. The A2DPStream does not need any output functionality of the A2DP library, so you could switch them off with the build_flags |
Beta Was this translation helpful? Give feedback.
-
This is not really an issue with audio-tools or platformio, it just
illustrates my lack of detailed knowledge of the finer points of platformio.
However I cannot be the first nor certainly the last to trip up on this
problem.
Might I suggest that
https://github.com/pschatzmann/arduino-audio-tools/wiki/Working-with-PlatformIO
be updated?
…On Tue, May 28, 2024 at 1:58 AM Phil Schatzmann ***@***.***> wrote:
Wouldn't you rather file an issue with PlatformIO ?
I googled your issue and it seems that adding lib_ldf_mode = chain+ to the
platformio.ino will make the issue go away
—
Reply to this email directly, view it on GitHub
<#1576 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA3KSTQ2UKEODL5HFA2PU7TZEO27TAVCNFSM6AAAAABILXHVEKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TKNZUGI2TA>
.
You are receiving this because you authored the thread.Message ID:
<pschatzmann/arduino-audio-tools/repo-discussions/1576/comments/9574250@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
I actually see this issue the first time, so I tend to think that it might have been introduced quite lately by a change in PlatformIO. Here is the version information for you to double check
|
Beta Was this translation helpful? Give feedback.
-
Actually my environment seems to be (marginally) older than yours
PACKAGES:
- framework-arduinoespressif32 @ 3.20007.0 (2.0.7)
- tool-esptoolpy @ 1.40500.0 (4.5.0)
Everything else is the same.
I then compared my Arduino IDE and PlatformIO installations in ~/.arduino15
and ~/.platformio and noticed small differences, IDE being newer, like your
installation.
To force an update I executed pio pkg update so now I have
framework-arduinoespressif32 2.0.16 and esptool 4.5.1.
Hey presto! All compiles even with CORE_DEBUG_LEVEL=5
Well, thats a few hours of my life I won't get back. Never mind, all is
well now.
…On Tue, May 28, 2024 at 3:13 PM Phil Schatzmann ***@***.***> wrote:
I actually see this issue the first time, so I tend to think that it might
have been introduced quite lately by a change in PlatformIO.
CORE_DEBUG_LEVEL=5 works w/o any problems for me.
Here is the version information for you to double check
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.6.0+sha.c9c9bbe) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.20014.231204 (2.0.14)
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain+, Compatibility ~ soft
Found 37 compatible libraries
Scanning dependencies...
Dependency Graph
|-- audio-tools @ 0.9.8+sha.7656898
|-- libhelix @ 0.1.0+sha.9574742
|-- ESP32-A2DP @ 1.8.1+sha.c866889
|-- SdFat @ 2.2.3+sha.aadedbf
|-- WiFi @ 2.0.0
|-- WiFiClientSecure @ 2.0.0
|-- SPI @ 2.0.0
Building in release mode
Compiling .pio/build/esp32dev/src/main.cpp.o
Building .pio/build/esp32dev/bootloader.bin
Generating partitions .pio/build/esp32dev/partitions.bin
esptool.py v4.5.1
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
—
Reply to this email directly, view it on GitHub
<#1576 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA3KSTTEGW5ENTP6YLUWJITZERYGLAVCNFSM6AAAAABILXHVEKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TKOBQGM3TE>
.
You are receiving this because you authored the thread.Message ID:
<pschatzmann/arduino-audio-tools/repo-discussions/1576/comments/9580372@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
In platformio.ini: |
Beta Was this translation helpful? Give feedback.
Wouldn't you rather file an issue or a question with PlatformIO ?
I googled your issue and it seems that adding lib_ldf_mode = chain+ to the platformio.ini will make the issue go away
The following is working for me for your example