Merge branch 'fix/lwip_ping_ipv6only_v5.4' into 'release/v5.4'

fix(lwip): Fix IP6 raw socket checksum in IPv6-only configuration (v5.4)

See merge request espressif/esp-idf!35083
This commit is contained in:
David Čermák
2024-11-22 21:38:49 +08:00
6 changed files with 63 additions and 8 deletions

View File

@@ -15,8 +15,7 @@
esp_err_t example_configure_stdin_stdout(void)
{
static bool configured = false;
if (configured) {
if (uart_is_driver_installed((uart_port_t)CONFIG_ESP_CONSOLE_UART_NUM)) {
return ESP_OK;
}
// Initialize VFS & UART so we can use std::cout/cin
@@ -29,6 +28,5 @@ esp_err_t example_configure_stdin_stdout(void)
uart_vfs_dev_port_set_rx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CR);
/* Move the caret to the beginning of the next line on '\n' */
uart_vfs_dev_port_set_tx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CRLF);
configured = true;
return ESP_OK;
}