mirror of https://github.com/ArduPilot/ardupilot
hwdef: force 100MBit fullduplex for BotBloxSwitch
auto-negotiation doesn't work also disable TX/RX swap as not needed on final board
This commit is contained in:
parent
35a2e61a01
commit
b63865cdc5
|
@ -4,12 +4,9 @@ NET_OPTIONS 1
|
|||
# enable hw flow control
|
||||
UART1_RTSCTS 1
|
||||
|
||||
# swap TX and RX
|
||||
UART1_OPTIONS 8
|
||||
|
||||
SCR_ENABLE 1
|
||||
SCR_VM_I_COUNT 1000000
|
||||
SCR_HEAP_SIZE 150000
|
||||
SCR_HEAP_SIZE 100000
|
||||
|
||||
WEB_ENABLE 1
|
||||
WEB_PORT 80
|
||||
|
|
|
@ -66,10 +66,12 @@ PB11 ETH_RMII_TX_EN ETH1
|
|||
PA7 ETH_RMII_CRS_DV ETH1
|
||||
PA1 ETH_RMII_REF_CLK ETH1
|
||||
|
||||
define BOARD_PHY_ID MII_LAN8742A_ID
|
||||
define BOARD_PHY_ADDRESS 0x0005
|
||||
define BOARD_PHY_ADDRESS 5
|
||||
define BOARD_PHY_RMII
|
||||
|
||||
# auto-negotiation doesn't work, force 100MBit full duplex
|
||||
define STM32_MAC_PHY_LINK_TYPE MAC_LINK_100_FULLDUPLEX
|
||||
|
||||
include ../include/network_bootloader.inc
|
||||
|
||||
SERIAL_ORDER OTG1 USART3
|
||||
|
|
|
@ -79,10 +79,12 @@ PB11 ETH_RMII_TX_EN ETH1
|
|||
PA7 ETH_RMII_CRS_DV ETH1
|
||||
PA1 ETH_RMII_REF_CLK ETH1
|
||||
|
||||
define BOARD_PHY_ID MII_LAN8742A_ID
|
||||
define BOARD_PHY_ADDRESS 0x0005
|
||||
define BOARD_PHY_ADDRESS 5
|
||||
define BOARD_PHY_RMII
|
||||
|
||||
# auto-negotiation doesn't work, force 100MBit full duplex
|
||||
define STM32_MAC_PHY_LINK_TYPE MAC_LINK_100_FULLDUPLEX
|
||||
|
||||
define HAL_PERIPH_ENABLE_NETWORKING
|
||||
define AP_NETWORKING_MAX_INSTANCES 4
|
||||
|
||||
|
@ -98,6 +100,10 @@ define AP_SERIALMANAGER_REGISTER_ENABLED 1
|
|||
define AP_SCRIPTING_ENABLED 1
|
||||
define AP_FILESYSTEM_ROMFS_ENABLED 1
|
||||
|
||||
# keep ROMFS uncompressed as we don't have enough RAM
|
||||
# to uncompress the network enabled bootloader at runtime
|
||||
env ROMFS_UNCOMPRESSED True
|
||||
|
||||
include ../include/network_PPPGW.inc
|
||||
|
||||
define HAL_MONITOR_THREAD_ENABLED 1
|
||||
|
|
Loading…
Reference in New Issue