Skip to main content
Associate
March 4, 2024
Solved

STM32CubeIDE + FreeRTOS + LWIP

Does anyone know what is causing this error and how to fix it in STMCubeIDE?

 

spoatech_0-1709573051963.png

 

As shown, this is specific to STM32F107VCT as it may be that STM32F4 does not see this. Buildable code cannot be generated.

Thanks!

@Amel NASRI 

    This topic has been closed for replies.
    STTwo-32
    STTwo-32Best answer
    ST Technical Moderator
    March 5, 2024

    Hello @spoatech 

    Have you tried to change the value in red here :

    STTwo32_0-1709638196309.png

    to 1 on the .IOC file and then regenerate the code. That should work.

    Best Regards.

    STTwo-32

    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

    9 replies

    STTwo-32
    ST Technical Moderator
    March 4, 2024

    Hello @spoatech 

    Could you please share your.ioc file?

    Best Regards.

    STTwo-32 

    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
    spoatechAuthor
    Associate
    March 4, 2024

    Hi @STTwo-32 STTwo-32,

    Thanks for the quick replay. The ioc file is attached.

    Cheers

    STTwo-32
    ST Technical Moderator
    March 5, 2024

    The RTOS_NEWLIB_REENTRANT (FREERTOS USE_NEWLIB_REENTRANT 1) is linked to FREERTOS API CMSIS version parameter. It should be set to 1 so a newlib reent structure will be allocated for each created task wish allow. This parameter takes 0 or 1 to eliminate the warning message. More details on the MACRO available in this link.

    Best Regards.

    STTwo-32

     

    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
    spoatechAuthor
    Associate
    March 5, 2024

    @STTwo-32 

    That works after all. The code builds without errors.

    Thanks for your help!!