|
@@ -175,6 +175,8 @@ The STM32F4x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums
|
|
|
#define CHECKSUM_CHECK_UDP 0
|
|
|
/* CHECKSUM_CHECK_TCP==0: Check checksums by hardware for incoming TCP packets.*/
|
|
|
#define CHECKSUM_CHECK_TCP 0
|
|
|
+ /* CHECKSUM_CHECK_ICMP==0: Check checksums by hardware for incoming ICMP packets.*/
|
|
|
+ #define CHECKSUM_GEN_ICMP 0
|
|
|
#else
|
|
|
/* CHECKSUM_GEN_IP==1: Generate checksums in software for outgoing IP packets.*/
|
|
|
#define CHECKSUM_GEN_IP 1
|
|
@@ -188,6 +190,8 @@ The STM32F4x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums
|
|
|
#define CHECKSUM_CHECK_UDP 1
|
|
|
/* CHECKSUM_CHECK_TCP==1: Check checksums in software for incoming TCP packets.*/
|
|
|
#define CHECKSUM_CHECK_TCP 1
|
|
|
+ /* CHECKSUM_CHECK_ICMP==1: Check checksums by hardware for incoming ICMP packets.*/
|
|
|
+ #define CHECKSUM_GEN_ICMP 1
|
|
|
#endif
|
|
|
|
|
|
|
|
@@ -228,11 +232,11 @@ The STM32F4x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums
|
|
|
#define UDP_DEBUG LWIP_DBG_OFF
|
|
|
#define SOCKETS_DEBUG LWIP_DBG_OFF
|
|
|
#define MEMP_DEBUG LWIP_DBG_OFF
|
|
|
-#define PING_DEBUG LWIP_DBG_ON
|
|
|
+#define PING_DEBUG LWIP_DBG_OFF
|
|
|
#define SNMP_MSG_DEBUG LWIP_DBG_OFF
|
|
|
#define SNMP_MIB_DEBUG LWIP_DBG_OFF
|
|
|
-#define TIMERS_DEBUG LWIP_DBG_ON
|
|
|
-#define ICMP_DEBUG LWIP_DBG_ON
|
|
|
+#define TIMERS_DEBUG LWIP_DBG_OFF
|
|
|
+#define ICMP_DEBUG LWIP_DBG_OFF
|
|
|
|
|
|
/*
|
|
|
---------------------------------
|