mirror of https://github.com/ARMmbed/mbed-os.git
lwip - Reduced size of buffers in echo-parallel tests
These tests could adopt the dynamically sized buffers used for the packet-pressure tests, however throughput is not an important feature of these tests.pull/3265/head
parent
4551dfa667
commit
2da71a7f87
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
|
|
||||||
#ifndef MBED_CFG_TCP_CLIENT_ECHO_BUFFER_SIZE
|
#ifndef MBED_CFG_TCP_CLIENT_ECHO_BUFFER_SIZE
|
||||||
#define MBED_CFG_TCP_CLIENT_ECHO_BUFFER_SIZE 256
|
#define MBED_CFG_TCP_CLIENT_ECHO_BUFFER_SIZE 64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MBED_CFG_TCP_CLIENT_ECHO_THREADS
|
#ifndef MBED_CFG_TCP_CLIENT_ECHO_THREADS
|
||||||
|
@ -18,7 +18,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
const char ASCII_MAX = '~' - ' ';
|
|
||||||
EthernetInterface net;
|
EthernetInterface net;
|
||||||
SocketAddress tcp_addr;
|
SocketAddress tcp_addr;
|
||||||
Mutex iomutex;
|
Mutex iomutex;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include "unity/unity.h"
|
#include "unity/unity.h"
|
||||||
|
|
||||||
#ifndef MBED_CFG_UDP_CLIENT_ECHO_BUFFER_SIZE
|
#ifndef MBED_CFG_UDP_CLIENT_ECHO_BUFFER_SIZE
|
||||||
#define MBED_CFG_UDP_CLIENT_ECHO_BUFFER_SIZE 256
|
#define MBED_CFG_UDP_CLIENT_ECHO_BUFFER_SIZE 64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MBED_CFG_UDP_CLIENT_ECHO_TIMEOUT
|
#ifndef MBED_CFG_UDP_CLIENT_ECHO_TIMEOUT
|
||||||
|
@ -21,7 +21,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
const char ASCII_MAX = '~' - ' ';
|
|
||||||
const int ECHO_LOOPS = 16;
|
const int ECHO_LOOPS = 16;
|
||||||
EthernetInterface net;
|
EthernetInterface net;
|
||||||
SocketAddress udp_addr;
|
SocketAddress udp_addr;
|
||||||
|
|
Loading…
Reference in New Issue