From 7e73edd01ad5304f6d4db0882e03071380bf370d Mon Sep 17 00:00:00 2001 From: scarletwiz Date: Fri, 20 Oct 2023 09:46:51 +0900 Subject: [PATCH] ports/rp2/boards/W5100S_EVB_PICO/mpconfigboard.cmake: Set default LWIP mode to Disable The W5100S and W5500 modules are optimized for hard-wired settings. So, I suggest to set the default mode to Hard wired (='LwIP 0') Based on performance tests conducted with iperf3, it was found that the bitrate of the device in hard-wired mode is 74% higher than the LwIP. (LWIP: 747 kbits/sec, Hardwired: 1.34Mbits/sec) Therefore, to enhance the default network speed and performance for users. Please refer to the following post for speed measurement using iperf3 https://vo.la/nFDNF Signed-off-by: Alessandro Gatti --- ports/rp2/boards/W5100S_EVB_PICO/mpconfigboard.cmake | 2 +- ports/rp2/boards/W5500_EVB_PICO/mpconfigboard.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/rp2/boards/W5100S_EVB_PICO/mpconfigboard.cmake b/ports/rp2/boards/W5100S_EVB_PICO/mpconfigboard.cmake index 5de986fabc..b624b9c6af 100644 --- a/ports/rp2/boards/W5100S_EVB_PICO/mpconfigboard.cmake +++ b/ports/rp2/boards/W5100S_EVB_PICO/mpconfigboard.cmake @@ -1,5 +1,5 @@ # cmake file for Wiznet W5100S-EVB-Pico. set(PICO_BOARD wiznet_w5100s_evb_pico) set(MICROPY_PY_NETWORK_WIZNET5K W5100S) -set(MICROPY_PY_LWIP 1) +set(MICROPY_PY_LWIP 0) set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py) diff --git a/ports/rp2/boards/W5500_EVB_PICO/mpconfigboard.cmake b/ports/rp2/boards/W5500_EVB_PICO/mpconfigboard.cmake index dda5ba4e32..dc4f0e13a4 100644 --- a/ports/rp2/boards/W5500_EVB_PICO/mpconfigboard.cmake +++ b/ports/rp2/boards/W5500_EVB_PICO/mpconfigboard.cmake @@ -1,5 +1,5 @@ # cmake file for Wiznet W5500-EVB-Pico. set(PICO_BOARD wiznet_w5100s_evb_pico) set(MICROPY_PY_NETWORK_WIZNET5K W5500) -set(MICROPY_PY_LWIP 1) +set(MICROPY_PY_LWIP 0) set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)