cancel
Showing results for 
Search instead for 
Did you mean: 

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

Sara BEN HADJ YAHYA
ST Employee

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Sara BEN HADJ YAHYA
ST Employee

Hello,

This issue is fixed.

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

Sara.

View solution in original post

7 REPLIES 7
ARaym.2
Associate

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.

Pavel A.
Evangelist III

@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.

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.

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.

RetroInTheShade
Associate III

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

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.

Sara BEN HADJ YAHYA
ST Employee

Hello,

This issue is fixed.

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

Sara.