mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
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:
committed by
Alan Carvalho de Assis
parent
768c5a28a1
commit
d048caf1d2
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user