Skip to content

Commit

Permalink
hwdef: Show PHY link-speed options in CubeRedPrimary
Browse files Browse the repository at this point in the history
  • Loading branch information
magicrub committed Jan 10, 2025
1 parent b094390 commit c3094ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/CubeRedPrimary/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@ PA1 ETH_RMII_REF_CLK ETH1
define BOARD_PHY_ID MII_LAN8720_ID
define BOARD_PHY_RMII

# PHY link type. Dynamic is the default, but options to force a link speed of 10 or 100 are available.
define STM32_MAC_PHY_LINK_TYPE MAC_LINK_DYNAMIC
#define STM32_MAC_PHY_LINK_TYPE MAC_LINK_100_FULLDUPLEX
#define STM32_MAC_PHY_LINK_TYPE MACLINK_10_FULLDUPLEX

# Refer to https://maclookup.app/vendors/cubepilot-pty-ltd
# Note, lower 3 bytes (ADDR3,4,5) will be replaced with the platform UUID
define AP_NETWORKING_DEFAULT_MAC_ADDR "A8:B0:28:00:00:00"
Expand Down

0 comments on commit c3094ee

Please sign in to comment.