File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,31 @@ if PKG_USING_CHERRYECAT
1414 bool "hpmicro"
1515 config PKG_CHERRYECAT_NETDEV_RENESAS
1616 bool "renesas"
17+ config PKG_CHERRYECAT_NETDEV_STM32H7
18+ bool "stm32h7, hal >=1.11.0"
1719 endchoice
1820
21+ if PKG_CHERRYECAT_NETDEV_HPMICRO
22+ choice
23+ prompt "hpmicro eth driver type"
24+ default PKG_CHERRYECAT_HPMICRO_RGMII
25+ config PKG_CHERRYECAT_HPMICRO_RGMII
26+ bool "RGMII"
27+ config PKG_CHERRYECAT_HPMICRO_RMII
28+ bool "RMII"
29+ endchoice
30+
31+ endif
32+
33+ if PKG_CHERRYECAT_NETDEV_STM32H7
34+ config CONFIG_EC_PHY_RESET_PORT
35+ int "stm32 eth phy reset port, from 0 to x, 0 means GPIOA"
36+ default 0
37+ config CONFIG_EC_PHY_RESET_PIN
38+ int "stm32 eth phy reset pin, from 0 to 15"
39+ default 8
40+ endif
41+
1942 config PKG_CHERRYECAT_PATH
2043 string
2144 default "/packages/system/CherryECAT"
You can’t perform that action at this time.
0 commit comments