2025-08-08 2:57 AM
Hello,
I am using an STM32F777 with FreeRTOS and LwIP. A web server is running in a task, which has been working so far.
Now I have updated to the CubeF7 firmware package 1.17.3 and migrated the firmware. Now there are build errors. In STM32CubeMX, the LWIP_SOCKET entry is disabled. It can no longer be activated because, as I have discovered, the entry NO_SYS=OS Not Used is set, even though I am using FreeRTOS. This was activated previously with CubeF7 firmware 1.17.2. However, I can no longer activate it.
How can I switch LwIP to OS and activate sockets?
I would appreciate some help.
2025-08-08 9:10 AM
Hello @Sandro_K,
Are you by any chance using FreeRTOS CMSIS V2? If so, please try switching back to CMSIS V1. The STM32F7 LwIP implementation provided by CubeMX and CubeFW currently does not support CMSIS V2. This is why selecting CMSIS V2 disables the LwIP RTOS integration, causing the issues you are experiencing. The existing STM32F7 LwIP stack is designed specifically for CMSIS V1.
Best regards,
2025-08-18 12:09 AM - edited 2025-08-18 1:23 AM
How can I switch back to V1? There is no selection to switch to V1.
2025-08-18 1:55 AM
Hello @Sandro_K,
You can switch to CMSIS V1 via the FreeRTOS Configuration tab in STM32CubeMX, as shown below.
Best regards,