2023-10-04 12:34 PM
Hello,
I use CubeMx to generate a Makefile project.
However, whenever I regenerate the code, it overwrites the linker script (STM32H743ZITx_FLASH.ld in my case).
Is there anyway to prevent CubeMx from doing this?
Thanks,
Dominic
Solved! Go to Solution.
2023-10-09 2:48 AM
Hello @Dominic_Valentino,
In order to stop overwriting the linker script (STM32H743ZITx_FLASH.ld) generated by CubeMx .I advise you to rename this file and specify the new name in the linker settings.
Thanks.
Mahmoud.
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.
2023-10-05 2:20 AM - edited 2023-10-05 2:20 AM
Hello @Dominic_Valentino,
First let me thank you for posting and welcome to the ST Community
Can you provide please the STM32CubeMx version which you are using.
Thanks.
Mahmoud.
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.
2023-10-05 4:30 AM
2023-10-09 2:48 AM
Hello @Dominic_Valentino,
In order to stop overwriting the linker script (STM32H743ZITx_FLASH.ld) generated by CubeMx .I advise you to rename this file and specify the new name in the linker settings.
Thanks.
Mahmoud.
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.
2024-09-26 10:52 AM
Similar:
https://community.st.com/t5/stm32cubemx-mcus/custom-linker-script-with-cubemx/td-p/307357