cancel
Showing results for 
Search instead for 
Did you mean: 

LwIP Sockets and OS can no longer be activated after updating to CubeF7 1.17.3

Sandro_K
Associate III

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.

LwIP settings.png

3 REPLIES 3
STackPointer64
ST Employee

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,

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.

How can I switch back to V1? There is no selection to switch to V1.

Sandro_K_0-1755500904041.png

 

Hello @Sandro_K,

You can switch to CMSIS V1 via the FreeRTOS Configuration tab in STM32CubeMX, as shown below.

STackPointer64_0-1755507259758.png

Best regards,

 

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.