There was an error while loading. Please reload this page.
1 parent dbd762e commit b84abd8Copy full SHA for b84abd8
1 file changed
lib-gd32/gd32f20x/GD32F20x_standard_peripheral/Include/gd32f20x_enet.h
@@ -62,9 +62,12 @@ OF SUCH DAMAGE.
62
/* #define USE_DELAY */
63
64
#ifndef _PHY_H_
65
-#define DP83848 0U
66
-#define LAN8700 1U
67
-#define PHY_TYPE DP83848
+#define DP83848 0
+#define LAN8700 1
+#define RTL8201F 2 // AvV
68
+#ifndef PHY_TYPE // AvV
69
+#define PHY_TYPE DP83848 // AvV
70
+#endif // AvV
71
72
#define PHY_ADDRESS ((uint16_t)1U) /*!< phy address determined by the hardware */
73
0 commit comments