AP_HAL_ChibiOS: update Networking hwdef's param defaults
This commit is contained in:
parent
f5a1525fd8
commit
ec65b5175b
@ -7,3 +7,10 @@ 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
|
||||
|
13
libraries/AP_HAL_ChibiOS/hwdef/kha_eth/defaults.parm
Normal file
13
libraries/AP_HAL_ChibiOS/hwdef/kha_eth/defaults.parm
Normal file
@ -0,0 +1,13 @@
|
||||
SERIAL1_OPTIONS 8
|
||||
|
||||
NET_ENABLE 1
|
||||
NET_DHCP 0
|
||||
NET_IPADDR0 172
|
||||
NET_IPADDR1 20
|
||||
NET_IPADDR2 13
|
||||
NET_IPADDR3 14
|
||||
NET_NETMASK 24
|
||||
NET_GWADDR0 172
|
||||
NET_GWADDR1 20
|
||||
NET_GWADDR2 13
|
||||
NET_GWADDR3 1
|
@ -104,14 +104,6 @@ define BOARD_PHY_RMII
|
||||
|
||||
###################
|
||||
|
||||
# Refer to https://maclookup.app/vendors/cubepilot-pty-ltd
|
||||
# A8-B0-28-??-??-?? where the ?? is the lower 3 bytes from the STM32 UUID
|
||||
define AP_NETWORKING_DEFAULT_MAC_ADDR0 0xA8
|
||||
define AP_NETWORKING_DEFAULT_MAC_ADDR1 0xB0
|
||||
define AP_NETWORKING_DEFAULT_MAC_ADDR2 0x28
|
||||
|
||||
###################
|
||||
|
||||
#Communications and debug
|
||||
# use DNA
|
||||
define HAL_CAN_DEFAULT_NODE_ID 0
|
||||
|
Loading…
Reference in New Issue
Block a user