From c8a818cf13747252349ffdee9cf1cb9ad6b3408a Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 31 Oct 2025 21:35:18 +1100 Subject: [PATCH] stm32/lwip_inc: Include HAL header to get MCU define. Otherwise the custom memory settings don't take place. Signed-off-by: Damien George --- ports/stm32/lwip_inc/lwipopts.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ports/stm32/lwip_inc/lwipopts.h b/ports/stm32/lwip_inc/lwipopts.h index ad1143845f..aa6cf85874 100644 --- a/ports/stm32/lwip_inc/lwipopts.h +++ b/ports/stm32/lwip_inc/lwipopts.h @@ -1,6 +1,8 @@ #ifndef MICROPY_INCLUDED_STM32_LWIP_LWIPOPTS_H #define MICROPY_INCLUDED_STM32_LWIP_LWIPOPTS_H +#include STM32_HAL_H + #define LWIP_NETIF_EXT_STATUS_CALLBACK 1 #define LWIP_LOOPIF_MULTICAST 1