This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 64af870f2c5b07669afc86031644c78687db9669
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Mon Mar 23 08:21:33 2026 +0100

    drivers/stm32_eth: Fix build for STM32H7
    
    Function HAL_ETH_SetMACFilterConfig() has different
    prototype in STM32H7 then on other series.
    STM32H7 does not have filtering config paramter
    as const.
    
    This just drops const from local variable.
    
    Signed-off-by: Jerzy Kasenberg <[email protected]>
---
 hw/drivers/lwip/stm32_eth/src/stm32_eth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/drivers/lwip/stm32_eth/src/stm32_eth.c 
b/hw/drivers/lwip/stm32_eth/src/stm32_eth.c
index 34503f6a8..9208b7275 100644
--- a/hw/drivers/lwip/stm32_eth/src/stm32_eth.c
+++ b/hw/drivers/lwip/stm32_eth/src/stm32_eth.c
@@ -302,7 +302,7 @@ stm32_lwip_init(struct netif *nif)
     int i, j;
     const struct stm32_eth_cfg *cfg;
     uint32_t reg;
-    const ETH_MACFilterConfigTypeDef filterConfig = {
+    ETH_MACFilterConfigTypeDef filterConfig = {
         .PassAllMulticast = ENABLE,
     };
 

Reply via email to