cancel
Showing results for 
Search instead for 
Did you mean: 

STM32107 + LWIP2.0.3+ FreeRTOS CMSISV1 Not able to ping

srdas
Associate II

Hello STM32 community,

I'm facing an issue with my project involving the STM32F107 microcontroller and LWIP 2.0.3 stack. Here's a brief overview of my setup:

  • Microcontroller: STM32F107
  • LWIP version: 2.0.3
  • Operating System: No issues without RTOS, but encountering problems with RTOS

I've successfully implemented LWIP 2.0.3 without an RTOS, and I can ping the microcontroller without any problems. However, when I introduce an RTOS (Real-Time Operating System) into the system, I encounter difficulties. Specifically, I'm unable to ping the microcontroller.

 

I have attached the RAR file of my project(with RTOS)

1 REPLY 1
nouirakh
ST Employee

Hello @srdas 

I have tested the project you have attached. I found this compilation error
"Fatal Error[Pe1696]: cannot open source file "reent.h"

nouirakh_0-1714658540362.png

Also, In the CubeMX configurations you need to replace this parameter "FREERTOS$context:USE_NEWLIB_REENTRANT" by 1, This configuration solves the problem.

nouirakh_2-1714658701354.png


Otherwise, To reproduce the issue and perform the necessary tests, I recreate a new project with the same configurations using the latest CubeMX version 6.11.0 and EWARM 9.30 and CubeIDE 1.14.0.
I have attached the ZIP file of the project(with FreeRTOS)
Could you check it with the same setup from your end?