summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-04-20 17:46:15 +0700
committerhathach <[email protected]>2026-04-20 17:46:15 +0700
commit9d0af750a5463f3a54c6fdd5932d82f7fc208ffc (patch)
tree1979c057855cd9bbca4365d624ba81bd4347e412 /examples
parentce81b01eda0f9e833bbb717e6f2cebad0030afa1 (diff)
add test for net_lwip_webserver with iperf throughput validation
Diffstat (limited to 'examples')
-rw-r--r--examples/device/net_lwip_webserver/src/tusb_config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/device/net_lwip_webserver/src/tusb_config.h b/examples/device/net_lwip_webserver/src/tusb_config.h
index 3285ea52c..db52e3b50 100644
--- a/examples/device/net_lwip_webserver/src/tusb_config.h
+++ b/examples/device/net_lwip_webserver/src/tusb_config.h
@@ -96,10 +96,13 @@ extern "C" {
#define USE_ECM 1
#else
#define USE_ECM 0
- #define INCLUDE_IPERF
#endif
#endif
+#ifndef INCLUDE_IPERF
+ #define INCLUDE_IPERF
+#endif
+
//--------------------------------------------------------------------
// NCM CLASS CONFIGURATION, SEE "ncm.h" FOR PERFORMANCE TUNING
//--------------------------------------------------------------------