You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.
C:\Users\andre\AppData\Local\Temp\arduino_modified_sketch_309659\sketch_feb11a.ino: In function 'bool InitI2SSpakerOrMic(int)':
C:\Users\andre\AppData\Local\Temp\arduino_modified_sketch_309659\sketch_feb11a.ino:43:29: warning: 'I2S_COMM_FORMAT_I2S' is deprecated [-Wdeprecated-declarations]
.communication_format = I2S_COMM_FORMAT_I2S, // Set the format of the communication. 设置通讯格式
^~~~~~~~~~~~~~~~~~~
In file included from C:\Users\andre\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.2/tools/sdk/esp32/include/driver/include/driver/i2s.h:16,
from C:\Users\andre\AppData\Local\Temp\arduino_modified_sketch_309659\sketch_feb11a.ino:19:
C:\Users\andre\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.2/tools/sdk/esp32/include/hal/include/hal/i2s_types.h:95:5: note: declared here
I2S_COMM_FORMAT_I2S __attribute__((deprecated)) = 0x01, /*!< I2S communication format I2S, correspond to `I2S_COMM_FORMAT_STAND_I2S`*/
^~~~~~~~~~~~~~~~~~~
c:/users/andre/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\sketch_feb11a.ino.cpp.o:(.literal._ZL15i2sMicroFFTtaskPv+0x28): undefined reference to `fft_init(int, fft_type_t, fft_direction_t, float*, float*)'
c:/users/andre/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\sketch_feb11a.ino.cpp.o:(.literal._ZL15i2sMicroFFTtaskPv+0x2c): undefined reference to `fft_execute(fft_config_t*)'
c:/users/andre/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\sketch_feb11a.ino.cpp.o:(.literal._ZL15i2sMicroFFTtaskPv+0x38): undefined reference to `fft_destroy(fft_config_t*)'
c:/users/andre/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\sketch_feb11a.ino.cpp.o: in function `i2sMicroFFTtask(void*)':
C:\Users\andre\AppData\Local\Temp\arduino_modified_sketch_309659/sketch_feb11a.ino:93: undefined reference to `fft_init(int, fft_type_t, fft_direction_t, float*, float*)'
c:/users/andre/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\andre\AppData\Local\Temp\arduino_modified_sketch_309659/sketch_feb11a.ino:97: undefined reference to `fft_execute(fft_config_t*)'
c:/users/andre/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\andre\AppData\Local\Temp\arduino_modified_sketch_309659/sketch_feb11a.ino:115: undefined reference to `fft_destroy(fft_config_t*)'
I was unable to compile the PDM unit code
Arduino: 1.8.19 (Windows 10), Board: "M5Stack-Core-ESP32, QIO, 80MHz, Default, 921600, Error"
C:\Users\andre\AppData\Local\Temp\arduino_modified_sketch_309659\sketch_feb11a.ino: In function 'bool InitI2SSpakerOrMic(int)':
C:\Users\andre\AppData\Local\Temp\arduino_modified_sketch_309659\sketch_feb11a.ino:43:29: warning: 'I2S_COMM_FORMAT_I2S' is deprecated [-Wdeprecated-declarations]
In file included from C:\Users\andre\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.2/tools/sdk/esp32/include/driver/include/driver/i2s.h:16,
C:\Users\andre\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.2/tools/sdk/esp32/include/hal/include/hal/i2s_types.h:95:5: note: declared here
c:/users/andre/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\sketch_feb11a.ino.cpp.o:(.literal._ZL15i2sMicroFFTtaskPv+0x28): undefined reference to `fft_init(int, fft_type_t, fft_direction_t, float*, float*)'
c:/users/andre/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\sketch_feb11a.ino.cpp.o:(.literal._ZL15i2sMicroFFTtaskPv+0x2c): undefined reference to `fft_execute(fft_config_t*)'
c:/users/andre/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\sketch_feb11a.ino.cpp.o:(.literal._ZL15i2sMicroFFTtaskPv+0x38): undefined reference to `fft_destroy(fft_config_t*)'
c:/users/andre/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\sketch_feb11a.ino.cpp.o: in function `i2sMicroFFTtask(void*)':
C:\Users\andre\AppData\Local\Temp\arduino_modified_sketch_309659/sketch_feb11a.ino:93: undefined reference to `fft_init(int, fft_type_t, fft_direction_t, float*, float*)'
c:/users/andre/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\andre\AppData\Local\Temp\arduino_modified_sketch_309659/sketch_feb11a.ino:97: undefined reference to `fft_execute(fft_config_t*)'
c:/users/andre/appdata/local/arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\andre\AppData\Local\Temp\arduino_modified_sketch_309659/sketch_feb11a.ino:115: undefined reference to `fft_destroy(fft_config_t*)'
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "SD.h"
Used: C:\Users\andre\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.2\libraries\SD
Not used: C:\Program Files (x86)\Arduino\libraries\SD
Multiple libraries were found for "WiFiClient.h"
Used: C:\Users\andre\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.2\libraries\WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
Error compiling for board M5Stack-Core-ESP32.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered: