Skip to content

Commit 679c747

Browse files
cyliangtwccli8
authored andcommitted
Adjust M460 EMAC RX/TX buffer
1 parent 877541d commit 679c747

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_M460/synopGMAC_Dev.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ enum GMACPhyBase {
5555
#define DMABASE 0x1000 // Dma base address starts with an offset 0x1000
5656

5757

58-
#define TRANSMIT_DESC_SIZE 4//32//256 //Tx Descriptors needed in the Descriptor pool/queue
59-
#define RECEIVE_DESC_SIZE 4//32//256 //Rx Descriptors needed in the Descriptor pool/queue
58+
#define TRANSMIT_DESC_SIZE 8//256 //Tx Descriptors needed in the Descriptor pool/queue
59+
#define RECEIVE_DESC_SIZE 16//256 //Rx Descriptors needed in the Descriptor pool/queue
6060

6161
#define ETHERNET_HEADER 14 //6 byte Dest addr, 6 byte Src addr, 2 byte length/type
6262
#define ETHERNET_CRC 4 //Ethernet CRC

0 commit comments

Comments
 (0)