mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
feat(esp_eth): enable openeth register mapping for 1000M GMAC
This commit is contained in:
committed by
Euripedes Rocha
parent
0cee33035c
commit
a6f543a25b
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2023-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -13,7 +13,11 @@
|
||||
* we can reuse the Wifi interrupt source for ethernet, since QEMU doesn't emulate Wifi (yet).
|
||||
* We also map the EMAC registers to an unused address range.
|
||||
*/
|
||||
#if SOC_WIFI_SUPPORTED && !SOC_EMAC_SUPPORTED
|
||||
#if SOC_WIFI_SUPPORTED && !SOC_EMAC_SUPPORTED
|
||||
#define ETS_ETH_MAC_INTR_SOURCE ETS_WIFI_MAC_INTR_SOURCE
|
||||
#define DR_REG_EMAC_BASE 0x600CD000
|
||||
#endif
|
||||
|
||||
#if SOC_EMAC_SUPPORT_1000M
|
||||
#define DR_REG_EMAC_BASE DR_REG_GMAC_BASE
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user