Skip to main content
Andrew Neil
Super User
Nov 13, 2026 3:22 PM UTC
Question

Keep same order when updating files

 After ‘Generate’, this change was made to hal_gpio_toggle_cmake/generated/hal/mx_rcc.h

 

So the before & after are functionally identical - the only change is to re-order things.

This is a just trivial example where it’s easy to see what’s happened but, in general, it’s an absolute nightmare for revision control!

Please, keep stuff in the same sequence - don’t reorder it.

 

PS:

CubeMX2 v1.2.0

1 reply

Oussama_TROUDI
ST Technical Moderator
Nov 17, 2026 9:45 AM UTC

Hello ​@Andrew Neil 

Thank you for reporting this.I confirm that the pin order changes after regeneration when files are updated. The issue is already being tracked internally, I’ll let you know as soon as I have an update.

Internal ticket number: CDM0060997 (This is an internal tracking number and is not accessible or usable by customers).
 

Best regards,
Oussama

In order 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.