cancel
Showing results for 
Search instead for 
Did you mean: 

Missing GCC files for STM32G0B1 when generating code for Keil MDK-ARM.

XUFEI
Associate II

When using the IOC file in the attachment to generate code with an operating system, MDK-ARM V5.32 is selected. It is found that the directory ..\Middlewares\Third_Party\FreeRTOS\Source\portable\GCC is missing, resulting in compilation failure in Keil.

7 REPLIES 7
Ghofrane GSOURI
ST Employee

Hello @XUFEI 

I am checking this behavior. I will get back to you ASAP.

THX

Ghofrane

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.

Supplementary Information: The version of STM32CUBE MX used is 6.15.0

Hello @XUFEI 

Which compiler version are you using? Are you using Compiler 6?

GhofraneGSOURI_0-1778658040591.png

 

I will be waiting for your feedback.

THX

Ghofrane

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.

Yes, I am using Compiler 6

XUFEI_0-1778664673790.png

When I generate code using the attached IOC file, the directory of this GCC file (which I added manually) will be deleted automatically.

Why are you using GCC files with Keil / MDK-ARM ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Hello @XUFEI 

Thank you for your contribution .

After checking internally , I found that this issue has already been forwarded to the development team under ticket #0061432.

Regarding your observation in your previous comment:

This is the expected behavior in CubeMX. If you add the GCC folder manually inside the generated project structure, it will be removed during code regeneration. To avoid this, please do not regenerate the project after adding the GCC folder manually.

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.