From d35d0bedb28729e4a0d9c91b7da83c884d74de34 Mon Sep 17 00:00:00 2001 From: Liu_Weichao Date: Wed, 1 Nov 2023 16:17:50 +0800 Subject: [PATCH] fix lwip_connect error, enable CHECKSUM_BY_HARDWARE in lwipopts.h --- Ubiquitous/XiZi_IIoT/resources/ethernet/LwIP/arch/lwipopts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ubiquitous/XiZi_IIoT/resources/ethernet/LwIP/arch/lwipopts.h b/Ubiquitous/XiZi_IIoT/resources/ethernet/LwIP/arch/lwipopts.h index ee9a40abc..72106e022 100644 --- a/Ubiquitous/XiZi_IIoT/resources/ethernet/LwIP/arch/lwipopts.h +++ b/Ubiquitous/XiZi_IIoT/resources/ethernet/LwIP/arch/lwipopts.h @@ -412,7 +412,7 @@ The STM32F4x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums - To use this feature let the following define uncommented. - To disable it and process by CPU comment the the checksum. */ -// #define CHECKSUM_BY_HARDWARE +#define CHECKSUM_BY_HARDWARE #ifdef CHECKSUM_BY_HARDWARE /* CHECKSUM_GEN_IP==0: Generate checksums by hardware for outgoing IP packets.*/