Closed lnetwalker closed 1 year ago
It seems that you are using somehow some obsolete Arduino/ESP32 version. Try to update PlatformiIO...
In addtion you should to add the following line in your PlatformIO sketch
#include "Arduino.h"
If this does not help try to use the platform as indicated in the Wiki
platform = https://github.com/platformio/platform-espressif32.git
But whatever I do, I can't reproduce your issue. I am getting the following output
Processing esp32dev (platform: espressif32; board: esp32dev; framework: arduino)
---------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (5.2.0+sha.03254d4) > 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.20005.220925 (2.0.5)
- tool-esptoolpy @ 1.40201.0 (4.2.1)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ deep+, Compatibility ~ soft
Found 51 compatible libraries
Scanning dependencies...
Dependency Graph
|-- audio-tools @ 0.9.3+sha.45e780a
|-- libhelix @ 0.1.0+sha.ee1023c
|-- audiokit @ 0.0.1+sha.4abca27
| |-- Wire @ 2.0.0
|-- SdFat @ 2.2.0+sha.628effa
| |-- SPI @ 2.0.0
|-- WiFiClientSecure @ 2.0.0
| |-- WiFi @ 2.0.0
|-- WiFi @ 2.0.0
|-- SPI @ 2.0.0
Thanks for your help. I deleted the PlatformIO Espressif32 Environment and installed it new. Now everything works!
Hi,
I try to use the streams-audiokit-audiokit example on my LyraT 4.3 board to send the audio from "line in" to the speaker. I followed the hints in the wiki regarding platformio, my platformio.ini looks like this:
The example is untouched like this:
When I do a build I got lot's of errors I don't understand:
Can anybody give me hints on what I missed ?
Sorry for inconvinience and thanks a lot Hartmut