summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorWangQiang <[email protected]>2020-10-12 18:15:01 +0800
committerWangQiang <[email protected]>2020-10-12 19:17:00 +0800
commit502378cf93bf780035316d594c80dd9b027efa17 (patch)
tree0de8adfb4ad79a3722c6aef235e6374abf29f355 /include/rtdef.h
parentd6ff0fc0c3a7d9a50ec73fc0544057e51788d02f (diff)
1. 抽象了PHY的设备模型,在components中增加了PHY设备的相关代码以及KCONFIG配置和SConscript脚本
2. 在IMXRT的Libraries中增加了peripherals目录,用于具体型号的设备驱动相关的代码的实现,不应与MCU的平台相关,实现PHY的设备对象中的相关接口。 3. 修改了BSP中的Sconstruct文件,增加了peripherals目录的构建 4. 修改了KEIL环境的SCT文件,用于实现以太网功能
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 5543b80ab7..100cd5c2d6 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -863,6 +863,7 @@ enum rt_device_class_type
RT_Device_Class_Miscellaneous, /**< Miscellaneous device */
RT_Device_Class_Sensor, /**< Sensor device */
RT_Device_Class_Touch, /**< Touch device */
+ RT_Device_Class_PHY, /**< PHY device */
RT_Device_Class_Unknown /**< unknown device */
};