Closed ballistRC closed 7 months ago
The old I2S Analog API is only supported for the ESP32! You will need to use the new API that will only be available starting from Arduino 3.0.0.
Ok, thanks for the info. Not important at this stage I guess, as I am still sorting out the PCM1808 issues and was just trying to reproduce it on a different host in case.
Problem Description
From the log board_build.mcu = esp32s tony@ASUS-WORK:~/repo/arduino-audio-tools/examples/examples-stream/streams-adc-i2s$ pio debug
Obsolete PIO Core v6.1.15a1 is used (previous was 6.1.15) Please remove multiple PIO Cores from a system: https://docs.platformio.org/en/latest/core/installation/troubleshooting.html
Processing esp32dev (platform: https://github.com/platformio/platform-espressif32.git; board: esp32-s3-devkitc-1; framework: arduino)
Library Manager: Installing adafruit/Adafruit BusIO @ ^1.14.1 Unpacking [####################################] 100% Library Manager: Adafruit BusIO@1.16.0 has been installed! Library Manager: Installing git+https://github.com/pschatzmann/arduino-audio-tools.git git version 2.34.1 Cloning into '/home/tony/.platformio/.cache/tmp/pkg-installing-upi_8b0p'... remote: Enumerating objects: 1298, done. remote: Counting objects: 100% (1298/1298), done. remote: Compressing objects: 100% (1008/1008), done. remote: Total 1298 (delta 242), reused 757 (delta 172), pack-reused 0 Receiving objects: 100% (1298/1298), 8.52 MiB | 11.45 MiB/s, done. Resolving deltas: 100% (242/242), done. Library Manager: audio-tools@0.9.6+sha.90ec739 has been installed! Library Manager: Resolving dependencies... Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitc-1.html PLATFORM: Espressif 32 (6.6.0+sha.c9c9bbe) > Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM) HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash DEBUG: Current (esp-builtin) On-board (esp-builtin) 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:~~~~ src/main.cpp:15:24: error: 'in' was not declared in this scope StreamCopy copier(out, in); // copy in to out ^~ src/main.cpp:15:24: note: suggested alternative: 'yn' StreamCopy copier(out, in); // copy in to outDevice Description
esp32-s3, compiles fine on an esp32.
Sketch
Other Steps to Reproduce
platformio run -t cleanall platformio debug
What is your development environment
Platformio/emacs
I have checked existing issues, discussions and online documentation