2024-01-24 06:14 PM
I have a question, how do I get the '.ld' link file for Flash, compared to the cmsis_device_f1 library cmsis_device_f4/Source/Templates/gcc/ directory that doesn't contain a `linker/` folder.
2024-01-24 06:55 PM
If you make a CubeMX project, it will be in the top-level project directory. Something like STM32F411RETx_FLASH.ld.
You can also find it in any example projects. For example:
2024-01-24 07:13 PM
Thanks for your explanation. I used CMake to build the project, so I needed to specifically look for this file
2024-01-24 07:18 PM
However, the sample project does not appear to be complete, and some models of MCU do not have matching files here,Is there any other way to get these documents.
2024-01-24 07:29 PM - edited 2024-01-24 07:31 PM
I mean, there are probably other ways, but it takes less than 5 minutes to make a cubemx project for the chip you have and generate code. Is it worth searching for other methods?
I searched the CubeMX repository and it came back with all the ld files in example projects. There may be another folder in there with them all but my brief search didn't turn it up.
2024-01-24 07:39 PM
Thank you. I see