fix(iperf): fix iperf result error due to nano newlib and uint32_t data len

This commit is contained in:
yuanjm
2020-10-13 15:26:50 +08:00
parent 66dd579880
commit 307c28b694
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@
typedef struct {
iperf_cfg_t cfg;
bool finish;
uint32_t total_len;
uint64_t total_len;
uint32_t buffer_len;
uint8_t *buffer;
uint32_t sockfd;

View File

@ -7,3 +7,4 @@ CONFIG_LWIP_TCP_SND_BUF_DEFAULT=11680
CONFIG_LWIP_TCP_WND_DEFAULT=7300
CONFIG_LWIP_TCP_MSS=1460
CONFIG_LWIP_TCP_RECVMBOX_SIZE=7
CONFIG_NEWLIB_NANO_FORMAT=n