cancel
Showing results for 
Search instead for 
Did you mean: 

Lowercase Conversion Issue CubeMX v6.17.0

recepsah
Associate

CubeMX copies the .s startup file from the template folder and renames it based on the selected MCU. However, the lowercase conversion generates different filenames on systems with different locale settings.
For STM32H743IIK6, the generated filename differs depending on the system locale.
On Windows 11 with the English locale, CubeMX generates:

startup_stm32h743iikx.s

On Windows 11 with the Turkish locale, it generates:

startup_stm32h743ııkx.s

The issue is caused by locale-dependent lowercase conversion of the letter I.

recepsah_0-1778222015189.png

 

3 REPLIES 3
Ghofrane GSOURI
ST Employee

Hello @recepsah 

Is this conversion causing any build error or any problem with your generated project?

It would useful if you could provide all details about the issue that you are facing?

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.

recepsah
Associate

Hello @Ghofrane GSOURI ,

We do not encounter any compilation errors. However, since we are using a source control system, this issue results in unnecessary file changes and repeated commits due to locale-dependent filename generation.

Recep

Hello @recepsah 

I believe this is a low-impact, non-blocking limitation. A simple workaround is to use English as the system locale, which prevents locale-dependent filename differences during project generation and avoids unnecessary file renames in source control.

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.