what I meant by Arduino framework version 1.0.6 is the arduino-esp32 framework version 1.0.6 (instead of 2.0.1) and not the Arduino IDE. Sorry if I wasn't clear.
BTW: when I run the app compiled with 2.0.1 I see this error in the log:
E (2888) I2S: i2s_check_set_mclk(253): ESP32 only support to set GPIO0/GPIO1/GPIO3 as mclk signal, error GPIO number:6 E (2895) I2S: i2s_set_pin(314): mclk config failed
I was able to fix this error by adding this line in function
tx_pin_config.mck_io_num = GPIO_NUM_0;
Thank you Felix! I'm glad I found your solution for this error. It finally works. I'm using version 2.0.2. I can now run the EchoSTT on my Core2.
@jdonth I'm not sure if you fixed your error. I have the same deprecated error. But it still can get compiled. My suggestion is to update the M5Stack libraries. This is what I did.