diff --git a/README.md b/README.md index 1106d86..082d6fc 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,7 @@ ### How-to-compile/upload ```bash -arduino-cli compile -b arduino:samd:nano_33_iot -v examples/LAN8651-iperf -arduino-cli upload -b arduino:samd:nano_33_iot -v examples/LAN8651-iperf -p /dev/ttyACM0 -# or -arduino-cli compile -b arduino:samd:nano_33_iot -v examples/LAN8651-iperf -u -p /dev/ttyACM0 +arduino-cli compile -b arduino:renesas_uno:unor4wifi -v examples/iperf-client -u -p /dev/ttyACM0 ``` ### How-to-[`EVB-LAN8670-USB`](https://www.microchip.com/en-us/development-tool/EV08L38A) diff --git a/examples/LAN8651-iperf/README.md b/examples/iperf-client/README.md similarity index 79% rename from examples/LAN8651-iperf/README.md rename to examples/iperf-client/README.md index c0d634b..cde80d7 100644 --- a/examples/LAN8651-iperf/README.md +++ b/examples/iperf-client/README.md @@ -1,14 +1,11 @@ -:floppy_disk: `LAN8651-iperf` +:floppy_disk: `iperf-client` ============================= This example sketch can be used to measure 10BASE-T1S network performance using this software stack. The required hardware is a Arduino [Nano 33 IoT](https://store.arduino.cc/products/arduino-nano-33-iot) and a Mikroe [2-Wire ETH](https://www.mikroe.com/two-wire-eth-click) click board. ### How-to-compile/upload ```bash -arduino-cli compile -b arduino:samd:nano_33_iot -v examples/LAN8651-iperf -arduino-cli upload -b arduino:samd:nano_33_iot -v examples/LAN8651-iperf -p /dev/ttyACM0 -# or -arduino-cli compile -b arduino:samd:nano_33_iot -v examples/LAN8651-iperf -u -p /dev/ttyACM0 +arduino-cli compile -b arduino:renesas_uno:unor4wifi -v examples/iperf-client -u -p /dev/ttyACM0 ``` ### How-to-`iperf` diff --git a/examples/LAN8651-iperf/LAN8651-iperf.ino b/examples/iperf-client/iperf-client.ino similarity index 100% rename from examples/LAN8651-iperf/LAN8651-iperf.ino rename to examples/iperf-client/iperf-client.ino diff --git a/examples/LAN8651-iperf/udp_perf_client.cpp b/examples/iperf-client/udp_perf_client.cpp similarity index 100% rename from examples/LAN8651-iperf/udp_perf_client.cpp rename to examples/iperf-client/udp_perf_client.cpp diff --git a/examples/LAN8651-iperf/udp_perf_client.h b/examples/iperf-client/udp_perf_client.h similarity index 98% rename from examples/LAN8651-iperf/udp_perf_client.h rename to examples/iperf-client/udp_perf_client.h index ac770d5..08650a0 100644 --- a/examples/LAN8651-iperf/udp_perf_client.h +++ b/examples/iperf-client/udp_perf_client.h @@ -92,7 +92,7 @@ struct perf_stats { #define UDP_TIME_INTERVAL 300 /* Server to connect with */ -#define UDP_SERVER_IP_ADDRESS "192.168.0.5" +#define UDP_SERVER_IP_ADDRESS "192.168.42.100" /* UDP buffer length in bytes */ #define UDP_SEND_BUFSIZE 1460