ESP32 LyraT mini v1.2 path and cmakelist error

hamzatamer76
Posts: 11
Joined: Mon Dec 16, 2024 5:26 am

ESP32 LyraT mini v1.2 path and cmakelist error

Postby hamzatamer76 » Mon Dec 23, 2024 1:33 pm

Hello, I am using esp32 LyraT mini v1.2. I want to play music via Bluetooth and talk on the phone with hfp. But when I try to run the sample codes, I get a cmake list error and I cannot select a board because I cannot see the AUDIO HAL option on the menuconfig screen. Therefore, I could not assign the sample codes correctly. I overcame this error as follows; I run these commands in the esp cmd panel in order
C:\Users\xxx\esp\v5.3.2\esp-adf
set ADF_PATH=C:\Users\xxx\esp\v5.3.2\esp-adf
echo %ADF_PATH%
set IDF_PATH=C:\Users\xxx\esp\v5.3.2\esp-idf
echo %IDF_PATH%
C:\Users\xxx\esp\v5.3.2\esp-idf\install.bat
cd C:\Users\xxx\esp\v5.3.2\esp-adf\examples\get-started\play_mp3_control
idf.py menuconfig
idf.py build
idf.py -p PORT flash monitor

but every time I close and open cmd I have to retype them, adf and idf I add the paths manually, how can I do this automatically?

MicroController
Posts: 1955
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP32 LyraT mini v1.2 path and cmakelist error

Postby MicroController » Wed Dec 25, 2024 8:57 am

You can run the export.bat of the IDF and/or ADF.

Who is online

Users browsing this forum: No registered users and 77 guests