2025-07-15 8:28 AM
I've got a project that's being developed using STM32CubeIDE V 1.18.1
I've switched from using HAL to LL for the RCC, but the stm32g4xx_ll_rcc.c file is not being added to the project (though stm32g4xx_ll_rcc.h is added) - which means that calls to LL_RCC_DeInit() result in a link failure.
Solved! Go to Solution.
2025-07-16 3:10 AM
Hello @CTapp.1
Thank you for your detailed explanation; it is greatly appreciated.
The issue has been forwarded to the development team for resolution.
Internal ticket number: 214188
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.
2025-07-15 8:31 AM
Hello @CTapp.1
Could you please provide your IOC in order to push further the investigation.
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.
2025-07-15 8:42 AM
Hi @Ghofrane GSOURI,
Attached, as requested.
2025-07-15 8:55 AM
Hello @CTapp.1
Your cooperation is greatly appreciated.
I am currently investigating this and will get back to you as soon as possible.
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.
2025-07-16 3:10 AM
Hello @CTapp.1
Thank you for your detailed explanation; it is greatly appreciated.
The issue has been forwarded to the development team for resolution.
Internal ticket number: 214188
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.
2025-07-16 3:17 AM
I've copied the file in from another project to get me going - though I'll have to keep restoring it if I regenerate as it gets removed ;)
2025-07-16 3:22 AM
Hello @CTapp.1
That’s a great workaround :)
Rather than copying your file directly into the CubeMX-generated folder, place it in a separate directory within your project. Then, add this directory and its files to your project’s build settings (including the include paths and source files). By doing so, your files will remain intact and won’t be deleted when you regenerate the code.
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.