i2s_example: fixed i2s_adc_dac output gap

Closes: https://github.com/espressif/esp-idf/issues/9389
This commit is contained in:
laokaiyao
2022-09-23 17:09:19 +08:00
parent 60d6ad326e
commit 3427867e70
2 changed files with 5 additions and 2 deletions

View File

@@ -69,8 +69,8 @@ void example_i2s_init(void)
.communication_format = I2S_COMM_FORMAT_STAND_MSB,
.channel_format = EXAMPLE_I2S_FORMAT,
.intr_alloc_flags = 0,
.dma_buf_count = 2,
.dma_buf_len = 1024,
.dma_buf_count = 6,
.dma_buf_len = 256,
.use_apll = 1,
};
//install and start i2s driver

View File

@@ -0,0 +1,3 @@
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_adc_dac_example.csv"
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y