Is there a way to do this via i2s or some python code?
Latest posts made by pkayme
-
RE: Microphone on M5StickC in UIFlow?
-
RE: Looking for Factory Test Source code for Core2
Hello, I'm getting a similar error, trying to use the arduino samples for the M5 echo. Please let me know how I could resolve this. Thanks!
Documents/M5-ProductExampleCodes-master/Core/Atom/AtomEcho/Arduino/EchoSTT/EchoSTT.ino: In function 'bool InitI2SSpeakOrMic(int)':/Documents/M5-ProductExampleCodes-master/Core/Atom/AtomEcho/Arduino/EchoSTT/EchoSTT.ino:39:33: warning: 'I2S_COMM_FORMAT_I2S' is deprecated [-Wdeprecated-declarations]
.communication_format = I2S_COMM_FORMAT_I2S,
^~~~~~~~~~~~~~~~~~~
In file included from/Library/Arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32/include/driver/include/driver/i2s.h:16,
from //Documents/M5-ProductExampleCodes-master/Core/Atom/AtomEcho/Arduino/EchoSTT/EchoSTT.ino:12:
//Library/Arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32/include/hal/include/hal/i2s_types.h:87:5: note: declared here
I2S_COMM_FORMAT_I2S attribute((deprecated)) = 0x01, /!< I2S communication format I2S, correspond toI2S_COMM_FORMAT_STAND_I2S
/
^~~~~~~~~~~~~~~~~~~
In file included from //Documents/Arduino/libraries/FastLED/src/FastLED.h:75,
from //Documents/Arduino/libraries/M5Atom/src/utility/LED_DisPlay.h:4,
from //Documents/Arduino/libraries/M5Atom/src/utility/LED_DisPlay.cpp:1:
//Documents/Arduino/libraries/FastLED/src/fastspi.h:157:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged outputpragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /private/var/folders/0t/yz2z12qx3c921x7fdqmtll4r0000gn/T/arduino/sketches/9E06B621E90448B5520779C00ED5183B/EchoSTT.ino.elf section
.dram0.bss' will not fit in region
dram0_0_seg'
//Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: DRAM segment data does not fit.
//Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: DRAM segment data does not fit.
//Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: region `dram0_0_seg' overflowed by 5056 bytes
collect2: error: ld returned 1 exit statusexit status 1
Compilation error: exit status 1