esp-adf icon indicating copy to clipboard operation
esp-adf copied to clipboard

i2s_stream_idf5.i2s_driver_startup uses get_i2s_pins and is not using information from i2s_cfg->std_cfg.gpio_cfg (AUD-6111)

Open rwrozelle opened this issue 10 months ago • 1 comments

i2s_stream_idf5.i2s_driver_startup ... board_i2s_pin_t board_i2s_pin = { 0 }; get_i2s_pins(i2s_port, &board_i2s_pin); ...

There is no use of i2s_cfg->std_cfg.gpio_cfg to set the pins dynamically from the provided configuration.

rwrozelle avatar Feb 23 '25 20:02 rwrozelle

Hi @rwrozelle We will copy the config_instance of type i2s_std_x_gpio_config_t to i2s_key_slot[i2s->port].x_std_cfg, then call the i2s_channel_init_std_mode function.

shootao avatar Feb 24 '25 02:02 shootao