Skip to content

Commit

Permalink
Merge branch 'backport/eth-start-spi-initialize-failure-v4.4' into 'r…
Browse files Browse the repository at this point in the history
…elease/v4.4'

Fix eth_start initializes spi bus with SPI_DMA_CH_AUTO (backport v4.4)

See merge request espressif/esp-idf!23817
  • Loading branch information
suda-morris committed Jun 25, 2023
2 parents 0a3f7e8 + 38de96b commit b1480d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ static esp_netif_t *eth_start(void)
.quadwp_io_num = -1,
.quadhd_io_num = -1,
};
ESP_ERROR_CHECK(spi_bus_initialize(CONFIG_EXAMPLE_ETH_SPI_HOST, &buscfg, 1));
ESP_ERROR_CHECK(spi_bus_initialize(CONFIG_EXAMPLE_ETH_SPI_HOST, &buscfg, SPI_DMA_CH_AUTO));
#if CONFIG_EXAMPLE_USE_DM9051
spi_device_interface_config_t devcfg = {
.command_bits = 1,
Expand Down

0 comments on commit b1480d9

Please sign in to comment.