Skip to main content
Associate II
October 24, 2025
Solved

syscalls.c File Not Generated or Deleted After Using X-Cube-AI Pack v10.2.0

  • October 24, 2025
  • 3 replies
  • 577 views

Hi,

I'm experiencing an issue with the X-Cube-AI Pack (version 10.2.0) on Windows 10.

After using the X-Cube-AI Pack, the syscalls.c file is either not generated at all, or if it already existed in the project, it gets deleted during the process.

This is causing build failures since the file is required for proper compilation. I've tried this on multiple projects and observed the same behavior consistently.

Could you please investigate this issue? It would be helpful if you could confirm whether this is a known problem or if there are any workarounds in the meantime.

Thanks in advance for your support!

Best regards

Best answer by Mahmoud Ben Romdhane

Hello @eric_green ,

 

The first issue: Tasks,Queues,Timers,Semaphores,Mutexes are missing when reloading the ioc is fixed on the last

STM32CubeMX Version 6.16

For the second issue and as WA I suggest that after the first generation, you rename the  syscalls.c file.

It is confirmed and I will let you know when it is fixed.

 

Thanks.

Mahmoud

3 replies

Technical Moderator
October 24, 2025

Hello @eric_green ,

 

Let me thank you for posting and welcome to the ST Community.

For more investigation, I suggest please that you provide your Ioc.File.

 

Thanks.

Mahmoud

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.
Associate II
October 24, 2025

Thank you for your prompt reply.

I used the original problematic .ioc file and generated a new project in a fresh folder (containing only that .ioc file). In this case, the syscalls.c file was successfully generated. However, without making any changes, I regenerated the code once again—and this time, the syscalls.c file disappeared.

Additionally, I noticed that X-CUBE-FREERTOS is unable to retain newly created tasks. Even after saving the .ioc file, when I reopen it, all the newly added tasks are gone—only the default task that was originally present remains.

 

 

eric_green_0-1761298387411.png

Technical Moderator
October 29, 2025

Hello @eric_green 

 

Let me thank you for bringing those issues to our attention.

First Issue: Tasks,Queues,Timers,Semaphores,Mutexes are missing when reloading the ioc.

Internal Ticket Number ( Ticket 214187 )

Second Issue: Syscalls.c is not generated after the second code generation while enabling X-Cube-AI Pack

Internal Ticket NumberTicket 220679 )

I will keep you up to date when the problems are solved.

 

Thanks.

Mahmoud

 

 

 

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.
Associate II
November 14, 2025

Hi, @Mahmoud Ben Romdhane ,

It still doesn't work.

THX.

Technical Moderator
November 17, 2025

Hello @eric_green ,

 

I suggest that you retest the code generation with the last version of STM32CubeMX.

How to get STM32CubeMX 6.16.0:

  1. Under this link .

  2. Or update your current installation of STM32CubeMX using: Help > Check for Update

I will be waiting for your feedback.

 

Thanks.

Mahmoud

 

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.
Technical Moderator
November 18, 2025

Hello @eric_green ,

 

The first issue: Tasks,Queues,Timers,Semaphores,Mutexes are missing when reloading the ioc is fixed on the last

STM32CubeMX Version 6.16

For the second issue and as WA I suggest that after the first generation, you rename the  syscalls.c file.

It is confirmed and I will let you know when it is fixed.

 

Thanks.

Mahmoud

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.
Associate II
November 20, 2025

Hi @Mahmoud Ben Romdhane ,

Thank you for your prompt follow-up and your efforts!