play_mp3_example errors

Jimboy
Posts: 3
Joined: Sat Apr 24, 2021 11:38 am

play_mp3_example errors

Postby Jimboy » Mon May 03, 2021 3:08 pm

In Visual Studio Code when building "play_mp3_example" if I have an error like an un-used variable it builds ok but I get a warning message about the un-used variable and another warning on the line:
ESP_LOGI(TAG, "[2.2] Create i2s stream to write data to codec chip");
i2s_stream_cfg_t i2s_cfg = I2S_STREAM_CFG_DEFAULT();
Warning:
'I2S_COMM_FORMAT_I2S' is deprecated [-Wdeprecated-declarations]
which I dont understand.
If I Build again both warnings disapear.
Any suggestions please?

Jimboy
Posts: 3
Joined: Sat Apr 24, 2021 11:38 am

Re: play_mp3_example errors

Postby Jimboy » Wed May 05, 2021 10:48 am

So I followed the advice given in this post:
viewtopic.php?f=20&t=20741&sid=d550ca73 ... f40042f786

I even started another copy of the play_mp3_example.
I selected the Lyrat V4.2 board in HAL.
Now I get 3 warnings before I change anything:
Warnings.jpg
Warnings.jpg (20.28 KiB) Viewed 256 times

Who is online

Users browsing this forum: No registered users and 7 guests