From 1be1149fdde7739d2c575b41775a86e5777f9cd0 Mon Sep 17 00:00:00 2001 From: Marco Casaroli Date: Mon, 11 Mar 2024 18:49:31 +0000 Subject: [PATCH] arch/esp32 bringup openeth --- boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c b/boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c index 9986baa90f..96e7826ff9 100644 --- a/boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c +++ b/boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c @@ -336,6 +336,14 @@ int esp32_bringup(void) } #endif +#ifdef CONFIG_ESP32_OPENETH + ret = esp32_openeth_initialize(); + if (ret < 0) + { + syslog(LOG_ERR, "ERROR: Failed to initialize Open ETH ethernet.\n"); + } +#endif + /* First, register the timer drivers and let timer 1 for oneshot * if it is enabled. */