Skip to content

ESP-ADF Release v2.3

Compare
Choose a tag to compare
@jason-mao jason-mao released this 21 May 13:03
· 801 commits to master since this release

Below is the release information of ESP-ADF v2.3, and its documentation is available here.

Changelog

This is the list of changes since release v2.2:

Pipeline Framework

New Features

  • Added element state AEL_STATE_INITIALIZING to mark the opening status
  • Modified elements to remove the commands sent from self task
  • Modified audio_calloc_inner to prefer calloc on psram

Bugfix

  • Fixed the bug that ringbuf mutex was called by different tasks
  • Fixed the bug that ringbuffer returned AEL_IO_DONE directly without flushing the tail data when rb_done_write was called on higher priority task than rb_read
  • Fixed the audio_element_input description typo
  • Fixed the bug that element double freed the holder ringbuffer
  • Fixed incorrect pointer address on audio_thread_create which may casue task handle is NULL

ESP_Dispatcher

Bugfix

  • Fixed the bug that mutex was not unlocked when send message failed in dispatcher

Audio Stream

New Features

  • Added TTS stream
  • Modified algo stream for easier use
  • Modified fatfs stream to support force wav header
  • Support multiple tone streams

Service Framework

New Features

  • Added more patterns for display service
  • Modified the wifi_service to report event when get Wi-Fi configuration
  • Added the wifi_service new interface to get the last used Wi-Fi configuration
  • Modified the bluetooth_service to set TG volume

Bugfix

  • Fixed the bug that Wi-Fi service could not get IP above ESP-IDF v4.1
  • Fixed the micropython_adf error that pipeline should be stopped first to stop record

Audio_Hal

New Features

  • Added ADC chip ES7210 driver
  • Modified ZL38063 dsp firmware to support AEC

Bugfix

  • Fixed bugs to keep the es8388 mic gain of left and right channels consistent
  • Fixed codec es8311 and es7243 failed to call i2c bus write
  • Fixed the bug that setting the default volume on mini board was invalid

ESP Peripherals

New Features

  • Fixed rmt module conflict between ws2812 and idf driver

Bugfix

  • Fixed memory leak in peripherals implementation
  • Fixed peripheral Wi-Fi could not get IP above ESP-IDF v4.0

Audio Protocol

  • Added MRM client

SIP

  • Fixed bugs to support conference mode

ESP Codec Libraries

New Features

  • Combined all of the codecs to one library
  • Added subchunk parse to wav decoder
  • Support modifying timeout of a specified ringbuffer
  • Changed down-mix dynamic allocate memory for multi-channel

Bugfix

  • Fixed the bug that mp3 decoder did not clear the byte position when closed
  • Fixed aac memory overread when data was incorrect

ESP Audio

New Features

  • Updated the esp_audio player version to v1.7.0
  • Added esp_audio_speed_get, esp_audio_speed_set and esp_audio_speed_idx_to_float to support speed up and slow down play
  • Support hfp_stream for esp_audio APIs

Bugfix

  • Fixed the bug that esp_audio_sync_play no return when esp_audio_stop was called during sync play
  • Fixed the bug that media source notified incorrect source type because it had been changed by media_ctrl_media_src_set
  • Fixed the bug that speed mode had wrong time

Docs

  • Added more codecs copyright and License
  • Added example template files
  • Added docs feedback links

Examples of ESP-ADF

New Examples

  • Added multi-room music example examples/advanced_examples/multi-room
  • Added HFP stream in wifi_bt_ble_coex example
  • Modified the VOIP example to support AEC, Smart Config, ringing tone and FreeSwtich/FreePBX conference
  • Modified the algorithm example to support latest algorithm_stream example
  • Changed BR_EDR_ONLY to BDTM in sdkconfig.defaults for BT Sink and Source examples

Bugfix

  • Fixed the bug that play_mp3 compile failed when selecting a board
  • Fixed the bug that audio pipeline link did not properly set link tag in google_translate_device example
  • Fixed the bug that the play_mp3_control could not restart playing after music play finished
  • Fixed the bug that the vad example did not work on lyrat mini board with IDF v4.x
  • Fixed the bug that setting Wi-Fi via blufi failed in wifi_bt_ble_coex example
  • Fixed the downmix_pipeline did not set listener and never broke main loop
  • Fixed the bug that release sdcard listed resource on pipeline_sdcard_mp3_control example

Korvo Du1906

  • Released korvo_du1906 v1.4.0
  • Added A2DP stream patch for Du1906
  • Updated the Du1906 readme
  • Fixed the issue that baidu server unreachable
  • Added IDF patch to Du1906 and modified the readme file

Get This Release

Using git commands below to obtain ESP-ADF v2.3 is highly recommended. Note that the submodules should also be updated (using git submodule update --init --recursive). Otherwise, the source files may be not working properly.

git clone https://github.com/espressif/esp-adf.git esp-adf-v2.3

cd esp-adf-v2.3/

git checkout v2.3

git submodule update --init --recursive

To get the programming guide for Audio Development Framework, please check here.