Ethernet Buffers 18k?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Ethernet Buffers 18k?

831 次查看
Andrey
Contributor III

I'm kind of running low on available RAM on my K70 project and when poking around found Ethernet Buffers occupying an 18k chunk. I'm having trouble finding where that gets set. Any help is appreciated?

EthernetBuffer.PNG

ethernetBuf.PNG

2 回复数

629 次查看
EAI
Contributor IV

The number of RX and TX buffers for the driver are controlled by BSPCFG_RX_RING_LEN and BSPCFG_TX_RING_LEN. You can lower these by overriding the default values. FOr example, add :

#define BSPCFG_RX_RING_LEN 3

#define BSPCFG_TX_RING_LEN 3

to user_config.h and rebuild your BSP.

629 次查看
Andrey
Contributor III

Changed it from 8 to 2 and that brought it down to 6k!

0 项奖励
回复