2023-05-15 11:50 PM - edited 2023-11-20 05:23 AM
When I build the D:\Desktop\stm32Cube\en.x-cube-aws-v1-4-2\STM32CubeExpansion_Cloud_AWS_V1.4.2\Projects\B-L475E-IOT01A , it show me the error:
d:\app\stm32cube\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: cannot use executable file '../../../../../BootLoader_OSC/2_Images_SBSFU/SW4STM32/B-L475E-IOT01_2_Images_SBSFU/Debug\se_interface_app.o' as input to a link.
Though I add the .o into to PATH, it still error. How to deal with it?
And the demo package is download from st.
Solved! Go to Solution.
2023-05-18 07:28 AM - edited 2023-11-20 05:24 AM
hello, @KDJEM.1
I found the solution to solved it, click the Window->preferences->STM32Cube->Toolchain Manager. My default toolchain is 10.3-2021.10, it build the project will make error, so, I install the 7-2018 or 9-2020. And set it as default, it can solved the issue, but I show a new error when compile the following:
Are there ways to solve it ?
2023-05-16 06:29 AM
Hello @lzhij.2 ,
The BootLoader_OSC examples in X-Cube-AWS V1.4.2 package developed with IAR, SW4STM32, Keil, but not for STM32CubeIDE.
For using STM32CubeIDE, you can follow this User manual UM2579 Migration guide from System Workbench to STM32CubeIDE.
I hope this help you!
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Kaouthar
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-05-17 07:59 PM - edited 2023-11-20 05:23 AM
hi, @KDJEM.1
I have tried this, but it still show the same error. And here is some requires in " B-L475E-IOT01_AWS_converter.log ":
does it matter ?
2023-05-17 08:03 PM
@KDJEM.1
here is the full error:
"d:\app\stm32cube\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: cannot use executable file '../../../../../BootLoader_OSC/2_Images_SBSFU/SW4STM32/B-L475E-IOT01_2_Images_SBSFU/Debug\se_interface_app.o' as input to a link"
It's the same as it was.
2023-05-18 03:40 AM
Hi @lzhij.2 ,
I made some tests using STM32CubeIDE.1.12.1 version and I didn't find any issue.
Do you have reproduced it following strictly the compilation order indicated in the readme?
Could you please compile projects in the following order. This is mandatory as each project requests some objects generated by the compilation of the previous one:
- 2_Images_SECoreBin
- 2_Images_SBSFU
May this discussion help you!
Please let me know if the issue is solved :) .
Kaouthar
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-05-18 05:35 AM
@KDJEM.1
I did it as the readme requires, but it still did't work:loudly_crying_face: . What is your Current toolchain ? I want to change it. And I found the same error in the internet but in other product. They said it is because the SBSFU package, I don't know whether it is true.:sad_but_relieved_face:
2023-05-18 07:28 AM - edited 2023-11-20 05:24 AM
hello, @KDJEM.1
I found the solution to solved it, click the Window->preferences->STM32Cube->Toolchain Manager. My default toolchain is 10.3-2021.10, it build the project will make error, so, I install the 7-2018 or 9-2020. And set it as default, it can solved the issue, but I show a new error when compile the following:
Are there ways to solve it ?
2023-05-18 07:51 AM
hello, @KDJEM.1
I totaly sovled all issue, about the STM32_Programmer_CLT, I just need to install an app(Programm software) from st into the path as postbuild.sh it writes(just as default path when it is installing). Then it will build successfully. Thanks a lot for your responses:smiling_face_with_smiling_eyes:
2023-05-18 07:56 AM
Hi @lzhij.2 ,
Glad to know that the issue is already fixed.
Thank you for your sharing the solution :) .
Kaouthar
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.