2024-01-11 23:23:25 -04:00
|
|
|
include ../CubePilot-CANMod/hwdef-bl.dat
|
2024-01-15 00:16:48 -04:00
|
|
|
|
|
|
|
# Ethernet
|
|
|
|
PC1 ETH_MDC ETH1
|
|
|
|
PA2 ETH_MDIO ETH1
|
|
|
|
PC4 ETH_RMII_RXD0 ETH1
|
|
|
|
PC5 ETH_RMII_RXD1 ETH1
|
|
|
|
PB12 ETH_RMII_TXD0 ETH1
|
|
|
|
PB13 ETH_RMII_TXD1 ETH1
|
|
|
|
PB11 ETH_RMII_TX_EN ETH1
|
|
|
|
PA7 ETH_RMII_CRS_DV ETH1
|
|
|
|
PA1 ETH_RMII_REF_CLK ETH1
|
|
|
|
|
|
|
|
define BOARD_PHY_ID MII_LAN8720_ID
|
|
|
|
define BOARD_PHY_RMII
|
|
|
|
|
|
|
|
define CH_CFG_USE_EVENTS 1
|
|
|
|
undef CH_CFG_USE_SEMAPHORES
|
|
|
|
define CH_CFG_USE_SEMAPHORES 1
|
|
|
|
undef CH_CFG_USE_MUTEXES
|
|
|
|
define CH_CFG_USE_MUTEXES 1
|
|
|
|
undef CH_CFG_USE_HEAP
|
|
|
|
define CH_CFG_USE_MEMCORE 1
|
|
|
|
define CH_CFG_USE_HEAP 1
|
|
|
|
define CH_CFG_USE_REGISTRY 1
|
|
|
|
define CH_CFG_USE_DYNAMIC 1
|
|
|
|
define CH_CFG_USE_WAITEXIT 1
|
|
|
|
|
|
|
|
define AP_NETWORKING_ENABLED 1
|
|
|
|
|
|
|
|
undef SERIAL_ORDER
|
|
|
|
SERIAL_ORDER
|
|
|
|
|
|
|
|
ROMFS_WILDCARD Tools/AP_Bootloader/Web/*.html
|
|
|
|
env ROMFS_UNCOMPRESSED True
|