cancel
Showing results for 
Search instead for 
Did you mean: 

Compile Error when active FreeRTOS V1

Slh
Senior

In the attached .ioc file, when FreeRTOS V1 is enabled via Cube, the project does not compile and gives errors. The errors image is also attached.

Another thing is that the LCD clock must be set to 96.875MHz to work properly! The tipycal clock for my LCD is 25MHz. My hardware is STM32F779-EVAL and it uses 25MHz external resonator.

5 REPLIES 5
Khouloud ZEMMELI
ST Employee

Hi @Slh​ 

This will be internally checked.

Best Regards,

Khouloud

Khouloud ZEMMELI
ST Employee

Using your ioc attached, no error detected : Build Finished. 0 errors, 0 warnings. (took 39s.952ms)

Regards

Khouloud

Slh
Senior

Hi @Khouloud Zemmeli

I downloaded the attached file to another system and the project was compiled without error. But when I downloaded it again in my system and created a project, the project was not compiled again and the errors that I attached in the previous post occurred. Maybe I should delete the Cache somewhere? I use STM32CubeIDE.

Slh
Senior

@Khouloud ZEMMELI​ 

Hello,

For this problem I found that the code generated from the same file (attached file in first post) is different on two PCs with the same version of STM32CubeIDE (V1.4.2). I have shown these differences in the attached photos. The difference between the two systems is that one is Windows 10 and the other is Windows 7, and the project created in Windows 7 is not compiled with errors that shown in first post.

Compare .ioc files:

0693W000004KX4vQAG.pngCompare project files:

0693W000004KX5yQAG.png 

Compare header files:

0693W000004KX5UQAW.png 

Compare source files:

0693W000004KX6rQAG.png 

Not sure why I'm getting dragged in this. I'm not a CubeMX fanboy

"Another thing is that the LCD clock must be set to 96.875MHz to work properly!"

That would need to get derived from a secondary PLL.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..