AP_HAL_ChibiOS: fix CubeRed default MAC Address

This commit is contained in:
Tom Pittenger 2023-08-14 21:52:17 -07:00 committed by Andrew Tridgell
parent 7e62904d5e
commit 27f9a54a54
2 changed files with 4 additions and 7 deletions

View File

@ -7,10 +7,3 @@ SERIAL5_BAUD 57
SERIAL5_PROTOCOL 1
EK2_PRIMARY 1
EK3_PRIMARY 1
# Networking
# Refer to https://maclookup.app/vendors/cubepilot-pty-ltd
# A8-B0-28-??-??-?? where the ?? is the lower 3 bytes from the STM32 UUID
NET_MACADDR0 168 # 0xA8
NET_MACADDR1 176 # 0xB0
NET_MACADDR2 40 # 0x28

View File

@ -168,6 +168,10 @@ PA1 ETH_RMII_REF_CLK ETH1
define BOARD_PHY_ID MII_LAN8720_ID
define BOARD_PHY_RMII
# 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"
# RCIN
PB7 TIM4_CH2 TIM4 RCININT PULLDOWN