2024-01-13 01:30:17 -04:00
|
|
|
include ../Pixhawk6X/hwdef-bl.dat
|
|
|
|
|
2024-01-16 20:19:49 -04:00
|
|
|
undef UART7
|
|
|
|
undef UART2
|
|
|
|
undef UART3
|
|
|
|
|
2024-01-13 01:30:17 -04:00
|
|
|
# setup build for a peripheral bootloader
|
|
|
|
env AP_PERIPH 1
|
|
|
|
|
|
|
|
# board ID for firmware load
|
|
|
|
APJ_BOARD_ID AP_HW_PIXHAWK6X_PERIPH
|
|
|
|
|
|
|
|
# CAN bus
|
|
|
|
PD0 CAN1_RX CAN1
|
|
|
|
PD1 CAN1_TX CAN1
|
|
|
|
|
|
|
|
PC1 ETH_MDC ETH1
|
|
|
|
PA2 ETH_MDIO ETH1
|
|
|
|
PC4 ETH_RMII_RXD0 ETH1
|
|
|
|
PC5 ETH_RMII_RXD1 ETH1
|
|
|
|
PG13 ETH_RMII_TXD0 ETH1
|
|
|
|
PG12 ETH_RMII_TXD1 ETH1
|
|
|
|
PB11 ETH_RMII_TX_EN ETH1
|
|
|
|
PA7 ETH_RMII_CRS_DV ETH1
|
|
|
|
PA1 ETH_RMII_REF_CLK ETH1
|
|
|
|
|
|
|
|
PG15 Ethernet_PWR_EN OUTPUT HIGH # disable power on ethernet
|
|
|
|
|
|
|
|
define BOARD_PHY_ID MII_LAN8742A_ID
|
|
|
|
define BOARD_PHY_RMII
|
|
|
|
|
2024-01-16 20:19:49 -04:00
|
|
|
include ../include/network_bootloader.inc
|
2024-01-13 01:30:17 -04:00
|
|
|
|
2024-01-16 20:19:49 -04:00
|
|
|
# allow load from USB
|
2024-01-16 18:10:55 -04:00
|
|
|
SERIAL_ORDER OTG1
|