Writen with esp-adf-v2.4 Follow expressif documentation for installation here
Run exemple
get_idf
idf.py -p /dev/ttyUSB0 build flash monitorThis example plays a sample 7 second mp3 file provided in 'main' folder. The file gets embedded in the applic 6699 ation during compilation. After application upload the file is then played from ESP32's internal flash.
This example is will run on boards marked with green checkbox. Please remember to select the board in menuconfig as discussed is section Usage below.
| Board Name | Getting Started | Chip | Compatible |
|---|---|---|---|
| ESP32-LyraT | |||
| ESP32-LyraTD-MSC | |||
| ESP32-LyraT-Mini | |||
| ESP32-Korvo-DU1906 | |||
| ESP32-S2-Kaluga-1 Kit |
Prepare the audio board:
- Connect speakers or headphones to the board.
Configure the example:
- Select compatible audio board in
menuconfig>Audio HAL.
Load and run the example.