From 61f317abed63b363895ba782e676433be5395d3d Mon Sep 17 00:00:00 2001 From: Jeremy Date: Mon, 15 May 2023 14:04:29 +0800 Subject: [PATCH] edit makefile for add w5500 iperf --- .../third_party_driver/ethernet/Kconfig | 22 ++++++++++--------- .../third_party_driver/ethernet/Makefile | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/Ubiquitous/XiZi_IIoT/board/edu-riscv64/third_party_driver/ethernet/Kconfig b/Ubiquitous/XiZi_IIoT/board/edu-riscv64/third_party_driver/ethernet/Kconfig index baf59367c..b374d8fb0 100644 --- a/Ubiquitous/XiZi_IIoT/board/edu-riscv64/third_party_driver/ethernet/Kconfig +++ b/Ubiquitous/XiZi_IIoT/board/edu-riscv64/third_party_driver/ethernet/Kconfig @@ -1,15 +1,17 @@ # Kconfig file config BSP_USING_W5500 -bool "Using w5500 " -default y + bool "Using w5500" + default y -# if BSP_USING_W5500 - config BSP_WIZ_RST_PIN - int - default 13 +config BSP_WIZ_RST_PIN + int + default 13 - config BSP_WIZ_INT_PIN - int - default 14 -# endif \ No newline at end of file +config BSP_WIZ_INT_PIN + int + default 14 + +config BSP_WIZ_USE_IPERF + bool "Using iperf" + default y diff --git a/Ubiquitous/XiZi_IIoT/board/edu-riscv64/third_party_driver/ethernet/Makefile b/Ubiquitous/XiZi_IIoT/board/edu-riscv64/third_party_driver/ethernet/Makefile index 1ea20caac..dbc03153b 100644 --- a/Ubiquitous/XiZi_IIoT/board/edu-riscv64/third_party_driver/ethernet/Makefile +++ b/Ubiquitous/XiZi_IIoT/board/edu-riscv64/third_party_driver/ethernet/Makefile @@ -1,3 +1,3 @@ -SRC_FILES := socket.c connect_w5500.c w5500.c wizchip_conf.c spi_interface.c wiz_ping.c +SRC_FILES := socket.c connect_w5500.c w5500.c wizchip_conf.c spi_interface.c wiz_ping.c wiz_iperf.c include $(KERNEL_ROOT)/compiler.mk \ No newline at end of file