summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-11-13 07:10:16 +0800
committerGitHub <[email protected]>2020-11-13 07:10:16 +0800
commit065488e74652806a9f58055d5fbb644fda338ae5 (patch)
tree5ae3d0dfd554e986a76951aadbcf7903c8806074 /components/drivers/include/rtdevice.h
parentc5656fbefba2868afe93cac1c043bfc1a674b8bd (diff)
parent10fb49318c45653a68555343e33cded10f5b092c (diff)
Merge pull request #3956 from xfwangqiang/gcc-fix
[Components]&&[BSP][imxrt]add ethernet configuration for imxrt1064-nxp-evk
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index f54290097c..f0fa2f5b4a 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -69,6 +69,11 @@ extern "C" {
#endif /* RT_USING_I2C_BITOPS */
#endif /* RT_USING_I2C */
+#ifdef RT_USING_PHY
+#include "drivers/phy.h"
+#include "drivers/phy_mdio.h"
+#endif /* RT_USING_PHY */
+
#ifdef RT_USING_SDIO
#include "drivers/mmcsd_core.h"
#include "drivers/sd.h"