2024-06-10 09:24 AM
As per JimSChen.4 said in the year of 2020, "This question has been asked several times but I have to raise it again". I am stuck on this EXACTLY same issue again.
Board: STM32H757-EVAL
STM32CubeIDE: Version 1.15.1 (Build: 21094_20240412_1041(UTC))
STM32CubeMX version (6.11.1)
STM32Cube FW_H7 V1.11.2
Configuration:
System Core->CORTEX_M7: both CPU DCache and ICache are enabled
Connectivity->ETH->Mode: RMII
FREERTOS_M7: CMSIS_V2
Now the issue is exactly as JimSchen said in this link "STM32CubeMx NO_SYS/With_RTOS option problem with lwip and FREERTOS"
1. LWIP's "Enable" greys out if only Cortex-M7 is selected.
2. When both Cortex-M7 and Cortex-M4 are selected, "Enable" becomes available. However, NO_SYS (OS Awareness) is always "OS Not Used" and unchangeable.
By the way, an old project, created by using STM32CubeMX version (6.8.1) and STM32Cube FW_H7 V1.11.0, does not have this issue. I can still enable LWIP with only Cortex_M7 selected. However, if migrate to the latest Mx and FW, it has the same issue.
The attached "H757_EVAL_LWIP" is the project with issue, and "ethernet" is my old one without issue.
@Amel NASRI
Solved! Go to Solution.
2024-06-11 06:48 AM
Hello @Leoq ,
Thank you for pointing this out. In fact, this is a known and confirmed issue and it is actively being worked on in internal ticket number 182330 and 178614 and it will be corrected in next revision of CubeMX .
this thread has the same issue Solved: NUCLEO-H755 - ETH configured (Non-RTOS) but LWIP r... - STMicroelectronics Community.
and as a workaround you can proceed by activation of LwIP for booth M7 and M4 and then you can configure it for M7, and you can enable FreeRTOS for M7 only.
Regards
2024-06-11 06:48 AM
Hello @Leoq ,
Thank you for pointing this out. In fact, this is a known and confirmed issue and it is actively being worked on in internal ticket number 182330 and 178614 and it will be corrected in next revision of CubeMX .
this thread has the same issue Solved: NUCLEO-H755 - ETH configured (Non-RTOS) but LWIP r... - STMicroelectronics Community.
and as a workaround you can proceed by activation of LwIP for booth M7 and M4 and then you can configure it for M7, and you can enable FreeRTOS for M7 only.
Regards
2024-06-11 09:24 AM
Thank you for quick response. The most important is "LWIP->Key Options->Infrastructure - OS Awareness Option/NO_SYS (OS Awareness)" has value of "OS Not Used". This is not changeable !
As a result, the above workaround could not work.
2024-07-22 04:12 AM
Hello @Leoz ,
The correction of this issue is included in CubeMX 6.12.0 .
Regards