Using a custom linker script with STM32CubeMX and makefile output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
STM32CubeMX
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-05 4:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-26 10:52 AM
Similar:
https://community.st.com/t5/stm32cubemx-mcus/custom-linker-script-with-cubemx/td-p/307357
A complex system designed from scratch never works and cannot be patched up to make it work.
