FreeRTOS+TCP based project can't build after editing the ioc file in STM32CubeIDE

Did you update the version of FreeRTOS+TCP as well or just the MCU and CubeMX version?

So I found that after ioc file closing the #define HAL_ETH_MODULE_ENABLED was commented in stm32h7xx_hal_conf.h file.

This could be because the ETH module was disabled in the IOC file in the original project, and the ETH init code was manually added instead of the IOC-generated one.

I believe this has to do with the migration of the CubeMX to the newer version.