M5Stickc Plus 2 microphone real time

Hello everyone!
There is a device M5Stickc Plus 2 in it is built-in microphone SPM1423 and Bluetooth module.
Here are the full specifications

Resources Parameters
ESP32 ESP32-PICO-V3-02
240MHz dual core,support wifi,2 MB SPI PSRAM,8 MB SPI flash
PSRAM 2 MB PSRAM
Flash 8 MB flash
Power Input 5V @ 500mA
Port TypeC x 1, GROVE(I2C+I/0+UART) x 1
LCD screen 1.14 inch, 135*240 Colorful TFT LCD, ST7789v2
Button Custom button x 3
LED Green LED x 1(non-programmable) (sleep status indicator)
Red LED X 1(same control pin G19 as infrared transmitter tube)
IMU MPU6886
Buzzer built-in buzzer
MIC SPM1423
RTC BM8563
Battery 200mAh @ 3.7V
Antenna 2.4G 3D Antenna
PIN port G0, G25/G36, G26, G32, G33
Operating Temperature 0°C to 40°C
Case Material Plastic ( PC )
Product Size 48 x 25 x 13mm
Package Size 114 x 64 x 23mm
Product Weight 17g
Package Weight 24.8g

I need ‘M5StickC Plus 2’ to transmit sound from the built-in microphone in real time. With equalizer support, to an Android 10 smartphone in Bluetooth A2DP mode without WiFi.
How to collect files and compile to ‘.bin’ using the Esptool program (ESP-IDF compiler - does not work correctly with the Cmake program).

I tried to do it using GPTchat, but it gives errors and extorts money from users!

You would likely get much better support here if you use english and post your code using code tags.

How to create this firmware?
.bin

Everything is in English as you like it, now it’s time to help?

Unfortunately I’m not personally able to help with this case. Is this problem somehow esphome related?

Yes, it is connected with EspHome and is an important module of smart home that can open the door by voice and transmit the signal via GPiO to the relay or intercom lock. Also, this device can be a voice assistant in the home?

But I just need to create a stereo microphone from this device. If it works out, then it will be possible to make 6 such microphones for recording in real time and broadcasting via Bluetooth A2DP without WiFi. Is this a good idea and should it be developed?

I tried to make this code through GPT but I was given a demo code that does not have files and a complete code. Here is the initial original. Can anyone help? Please respond?