arch/esp32 add openeth mac driver

This driver is used with QEMU, to make it possible
to use networking.

This is not the MAC in ESP32, however, it can be used with QEMU.

The code was shamelessly copied from https://github.com/espressif/esp-idf/commit/31dac92e5f0daac98190fd603df213a0a25a3807
This commit is contained in:
Marco Casaroli
2024-03-11 18:30:05 +00:00
committed by Alan Carvalho de Assis
parent 768c5a28a1
commit d048caf1d2
5 changed files with 913 additions and 0 deletions
@@ -227,5 +227,18 @@ int board_ws2812_initialize(
# endif
# endif
/****************************************************************************
* Name: openeth_initialize
*
* Description:
* This function may called from application-specific logic during its
* to perform board-specific initialization of the Open ETH interface
*
*
****************************************************************************/
#ifdef CONFIG_ESP32_OPENETH
int esp32_openeth_initialize(void);
#endif
#endif /* __ASSEMBLY__ */
#endif /* __BOARDS_XTENSA_ESP32_ESP32_DEVKITC_SRC_ESP32_DEVKITC_H */