mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
Merge branch 'bugfix/ci_eth_ip' into 'master'
iperf fix on SH runners Closes IDFCI-2718 See merge request espressif/esp-idf!36661
This commit is contained in:
commit
b5aef58afe
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2018-2024 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2018-2025 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
*/
|
||||
@ -78,8 +78,6 @@ void init_ethernet_and_netif(void)
|
||||
|
||||
void app_main(void)
|
||||
{
|
||||
init_ethernet_and_netif();
|
||||
|
||||
esp_console_repl_t *repl = NULL;
|
||||
esp_console_repl_config_t repl_config = ESP_CONSOLE_REPL_CONFIG_DEFAULT();
|
||||
esp_console_dev_uart_config_t uart_config = ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT();
|
||||
@ -91,6 +89,9 @@ void app_main(void)
|
||||
// init console REPL environment
|
||||
ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl));
|
||||
|
||||
// init Ethernet and netif
|
||||
init_ethernet_and_netif();
|
||||
|
||||
/* Register commands */
|
||||
register_system_common();
|
||||
app_register_iperf_commands();
|
||||
|
Loading…
x
Reference in New Issue
Block a user