Skip to content

Commit 9b0cbe0

Browse files
author
Mika Leppänen
committed
Disabled STM ethernet driver hardware checksum calculation
No need for driver level hardware IPv4/TCP/UDP/ICMP checksum insertion since LWIP and nanostack handles those already. Related to issue: #7227
1 parent ed9a1f1 commit 9b0cbe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/netsocket/emac-drivers/TARGET_STM_EMAC/stm32xx_emac.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ bool STM32_EMAC::low_level_init_successful()
125125
#endif
126126
EthHandle.Init.MACAddr = &MACAddr[0];
127127
EthHandle.Init.RxMode = ETH_RXINTERRUPT_MODE;
128-
EthHandle.Init.ChecksumMode = ETH_CHECKSUM_BY_HARDWARE;
128+
EthHandle.Init.ChecksumMode = ETH_CHECKSUM_BY_SOFTWARE;
129129
EthHandle.Init.MediaInterface = ETH_MEDIA_INTERFACE_RMII;
130130
HAL_ETH_Init(&EthHandle);
131131

0 commit comments

Comments
 (0)