misc ethernet config parameters (#3343)
* various cfg * this has to be 1522 Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
This commit is contained in:
parent
7e57239cae
commit
da0e4f1823
|
@ -212,7 +212,7 @@
|
|||
#define STM32_MAC_PHY_TIMEOUT 100
|
||||
#define STM32_MAC_ETH1_CHANGE_PHY_STATE TRUE
|
||||
#define STM32_MAC_ETH1_IRQ_PRIORITY 13
|
||||
#define STM32_MAC_IP_CHECKSUM_OFFLOAD 0
|
||||
#define STM32_MAC_IP_CHECKSUM_OFFLOAD 3
|
||||
|
||||
/*
|
||||
* PWM driver system settings.
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
#endif
|
||||
|
||||
#define LWIP_LINK_POLL_INTERVAL TIME_S2I(1)
|
||||
#define LWIP_IPADDR(p) IP4_ADDR(p, 192, 168, 10, 14)
|
||||
#define LWIP_IPADDR(p) IP4_ADDR(p, 192, 168, 10, 1)
|
||||
#define LWIP_GATEWAY(p) IP4_ADDR(p, 192, 168, 10, 1)
|
||||
|
||||
#define LWIP_COMPAT_SOCKETS 0
|
||||
|
|
|
@ -308,7 +308,7 @@
|
|||
* @note Requires @p CH_CFG_USE_HEAP and/or @p CH_CFG_USE_MEMPOOLS.
|
||||
*/
|
||||
#if !defined(CH_CFG_USE_DYNAMIC)
|
||||
#define CH_CFG_USE_DYNAMIC FALSE
|
||||
#define CH_CFG_USE_DYNAMIC TRUE
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
|
|
|
@ -322,7 +322,7 @@
|
|||
/*
|
||||
* MAC driver system settings.
|
||||
*/
|
||||
#define STM32_MAC_TRANSMIT_BUFFERS 2
|
||||
#define STM32_MAC_TRANSMIT_BUFFERS 4
|
||||
#define STM32_MAC_RECEIVE_BUFFERS 4
|
||||
#define STM32_MAC_BUFFERS_SIZE 1522
|
||||
#define STM32_MAC_PHY_TIMEOUT 100
|
||||
|
|
Loading…
Reference in New Issue