2024-10-06 05:35 AM - edited 2024-10-06 05:49 AM
Hello,
Since the latest release of CubeMX (6.12.1) installed, I have been encountering syntax errors related to the "FLASH.ld" file.
This issue only arises when I generate code while setting the Toolchain/IDE to CMake. I am using STM32F103C8T6.
It seems that CubeMX does not specify which RAM to use when setting the Toolchain/IDE to CMake.
I have also included the FLASH.ld file that was generated for your reference.
The terminal output the wrong as below , after run the default cmake-build task with the project templete generated by CubeMX (6.12.1) :
STM32F103C8Tx_FLASH.ld:56: syntax error
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
build finished with error(s).
Then, after replacing 6.12.1 flash.ld with 6.12.0 flash.ld , the errors are eliminated.
Here are two versions of the flash.ld attached.
---
Thanks for your help.
Solved! Go to Solution.
2024-10-06 05:49 AM
Hello @hopefully and welcome to the ST Community :smiling_face_with_smiling_eyes:.
This is a known regression that has been reported in this post and we will fixed on the comming releases.
Best Regards.
STTwo-32
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-10-06 05:49 AM
Hello @hopefully and welcome to the ST Community :smiling_face_with_smiling_eyes:.
This is a known regression that has been reported in this post and we will fixed on the comming releases.
Best Regards.
STTwo-32
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-11-20 05:40 AM
Hi @STTwo-32,
any idea, when the next release will be done, fixing this issue? We ran into the same problem now with a new dev-project and just spend half a day on this with no outcome- only option will be to downgrade now, which really is an issue for us.
Best Regards. SC22