Skip to main content
DGeie.1
Visitor II
Jun 23, 2021 2:17 PM UTC
Question

Trying to use STM32CubeIDE to generate code for LWIP using FreeRTOS. The target processor is an STM32F417. The generated code will not get a DHCP address. Any ideas would be appreciated.

..

This topic has been closed for replies.

1 reply

ST Technical Moderator
Jun 23, 2021 6:03 PM UTC

Hello @DGeie.1​ ,

Did you tried one of the LwIP examples already available in the STM32CubeF4 MCU package?

Like: STM32Cube_FW_F4_V1.26.1\Projects\STM324xG_EVAL\Applications\LwIP

You can compare the code/functions with yours, maybe this help you to identify what is going wrong in your case.

You can import Cube projects from SW4STM32 to STM32CubeIDE following this UM2579: Migration guide from System Workbench to STM32CubeIDE.

Hope this helps you !

-When your question is answered, please close this topic by choosing Select as Best-

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks