35 #define _________________________________________DRIVER_CONFIGURATIONS_SECTION______________________________________________________________ 37 #ifdef oC_ETH_LLD_AVAILABLE 41 .MacAddress = { 0x24 , 0x0A , 0x64 , 0xe9 , 0xAA , 0xAA } ,
43 .AutoGeneratePad =
true,
44 .AutoCalculateCrc =
true,
47 .OperationMode = oC_ETH_LLD_OperationMode_FullDuplex,
49 .Mdc = oC_Pin_RMII_MDC,
50 .Mdio = oC_Pin_RMII_MDIO,
51 .RefClk = oC_Pin_RMII_REF_CLK,
52 .RcsDv = oC_Pin_RMII_RCS_DV,
53 .RxD0 = oC_Pin_RMII_RXD0,
54 .RxD1 = oC_Pin_RMII_RXD1,
55 .TxEn = oC_Pin_RMII_TX_EN,
56 .TxD0 = oC_Pin_RMII_TXD0,
57 .TxD1 = oC_Pin_RMII_TXD1,
58 .RxEr = oC_Pin_RMII_RXER,
65 #undef _________________________________________DRIVER_CONFIGURATIONS_SECTION______________________________________________________________ 80 #define CFG_NETIF_LIST(ADD_NET,DONT_ADD_NET) \ 81 DONT_ADD_NET( "ethernet" , AUTO , AUTO , ETH , STM32F7Discovery_EthernetConfig ) \ 98 #define CFG_ROUTING_TABLE(ADD_ENTRY,DONT_ADD_ENTRY) \ 99 DONT_ADD_ENTRY( "0.0.0.0" , "0.0.0.0" , 1 , "ethernet" )\ ETH driver configuration structure.
Helper macros for configurations files.
oC_ETH_LLD_PHY_ChipInfo_t LLD
Informations about the chip required by the LLD layer.
const oC_ETH_PhyChipInfo_t * PhyChipInfo
Pointer to the PHY chip definition (you can find it in the oc_eth_chips.h file)
The file with drivers manager interface.