Skip to content

Commit

Permalink
Fixed missing Definition of ETH_RX_BUF_SIZE in hal_conf.h
Browse files Browse the repository at this point in the history
/* Definition of the Ethernet driver buffers size and count */
#define ETH_RX_BUF_SIZE                ETH_MAX_PACKET_SIZE /* buffer size for receive               */
  • Loading branch information
BeneSeePTB committed Feb 6, 2023
1 parent 5ee34bf commit 00ba37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/Core/Inc/stm32f7xx_hal_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
#define MAC_ADDR5 0U

/* Definition of the Ethernet driver buffers size and count */
#define ETH_RX_BUF_SIZE /* buffer size for receive */
#define ETH_RX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for receive */
#define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */
#define ETH_RXBUFNB ((uint32_t)4U) /* 4 Rx buffers of size ETH_RX_BUF_SIZE */
#define ETH_TXBUFNB ((uint32_t)4U) /* 4 Tx buffers of size ETH_TX_BUF_SIZE */
Expand Down

0 comments on commit 00ba37f

Please sign in to comment.