Skip to main content
Sara BEN HADJ YAHYA
Technical Moderator
July 4, 2022
Solved

How to avoid project migration issue in STM32CubeMX v6.6.0 and STM32CubeIDE v 1.10.0

  • July 4, 2022
  • 4 replies
  • 2797 views

A regression was detected when a project is migrated to the latest STM32CubeMX v6.6.0. The following source files got removed from Core/Src folder after the migration.

  • system_stm32xxxx.c
  • sysmem.c
  • syscalls.c

To avoid this issue, please apply one of the following workaround:

  1. Delete .mxproject file before performing project migration
  2. Move or copy the whole project in another location before project migration

We are working on a patch release for MX and IDE in which the described issue will be fixed. The patch will be available soon.

We apologize for the inconveniences.

This topic has been closed for replies.
Best answer by Sara BEN HADJ YAHYA

Hello,

This issue is fixed.

STM32CubeMX v6.6.1 and STM32CubeIDE v1.10.1 are now available under st.com

Sara.

4 replies

ARaym.2
Explorer II
July 6, 2022

After this update, I also noticed the generator added several LL driver header files, even though I have only HAL drivers selected:

0693W00000QKZibQAH.png 

0693W00000QKZiWQAX.png 

Build still works fine but I expect the files are added unintentionally.

Sara BEN HADJ YAHYA
Technical Moderator
July 7, 2022

Hello @ARaym.2​ ,

Thanks for your feedback,

This is actually a normal behavior, it is new implementation done in MX v6.6.0.

Several users needs to switch between HAL and LL in their projects so starting from v6.6.0, MX copies both types of drivers whatever the settings to use HAL or LL for a given peripheral initialization.

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Pavel A.
Super User
July 6, 2022

@Sara BEN HADJ YAHYA​ By the way - what is the purpose of the .mxproject file?

It seems to only make trouble. I always delete it and neither CubeMX or CubeIDE complained.

Sara BEN HADJ YAHYA
Technical Moderator
July 7, 2022

Hello @Pavel A.​ ,

The .mxproject is used by CubeMX to recognize the list of generated files or drivers used in the previous generation so that it can do the update after a new generation.

Deleting it won't affect the project.

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
RetroInTheShade
Associate
July 8, 2022

Hi @Sara BEN HADJ YAHYA​, Thanks for the update... great to have a work around.

Could I please suggest you also update the errata:

https://wiki.st.com/stm32mcu/wiki/STM32CubeIDE:STM32CubeIDE_errata_1.10.0

Sara BEN HADJ YAHYA
Technical Moderator
July 8, 2022

Hello @Community member​ ,

We are currently working on a patch release for CubeMX and CubeIDE in which this issue will be fixed. I will let you know once it's done.

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Sara BEN HADJ YAHYA
Sara BEN HADJ YAHYAAuthorBest answer
Technical Moderator
July 8, 2022

Hello,

This issue is fixed.

STM32CubeMX v6.6.1 and STM32CubeIDE v1.10.1 are now available under st.com

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.