Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions system/CherryECAT/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,31 @@ if PKG_USING_CHERRYECAT
bool "hpmicro"
config PKG_CHERRYECAT_NETDEV_RENESAS
bool "renesas"
config PKG_CHERRYECAT_NETDEV_STM32H7
bool "stm32h7, hal >=1.11.0"
endchoice

if PKG_CHERRYECAT_NETDEV_HPMICRO
choice
prompt "hpmicro eth driver type"
default PKG_CHERRYECAT_HPMICRO_RGMII
config PKG_CHERRYECAT_HPMICRO_RGMII
bool "RGMII"
config PKG_CHERRYECAT_HPMICRO_RMII
bool "RMII"
endchoice

endif

if PKG_CHERRYECAT_NETDEV_STM32H7
config CONFIG_EC_PHY_RESET_PORT
int "stm32 eth phy reset port, from 0 to x, 0 means GPIOA"
default 0
config CONFIG_EC_PHY_RESET_PIN
int "stm32 eth phy reset pin, from 0 to 15"
default 8
endif

config PKG_CHERRYECAT_PATH
string
default "/packages/system/CherryECAT"
Expand Down
Loading