2024-03-20 01:53 PM - edited 2024-03-20 02:03 PM
Version: STM32CubeIDE1.15.0
Hallo ST community,
due to the project-related reason, I need to use an old compile toolchain com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.1.100.202309262110 . So I download this toolchain and specify it as my fix toolchain in the toolchain manager. I got then the following error whild compiling:
arm-none-eabi-objdump -h -S MoreDisplay.elf > "MoreDisplay.list"
arm-none-eabi-objcopy -O ihex MoreDisplay.elf "MoreDisplay.hex"
text data bss dec hex filename
4805660 384 901644 5707688 5717a8 MoreDisplay.elf
c:/st/stm32cubeide_1.15.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.300.202402091052/tools/bin/sh: arm-none-eabi-objdump: not found
make: *** [makefile:114: MoreDisplay.list] Error 127
make: *** Waiting for unfinished jobs....
c:/st/stm32cubeide_1.15.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.300.202402091052/tools/bin/sh: arm-none-eabi-objcopy: not found
make: *** [makefile:119: MoreDisplay.hex] Error 127
After investigating the folder, there are indeed no arm-none-eabi-objdump and objcopy files.
Actually, that is the point which makes me confused. I have already specified my fix toolchain, why the new IDE still want to use these two files from other extern tools? These two files exits in my fix old toolchain.
In the older version of IDE V1.14.0, it has no problem with the fix old toolchain.
Thanks for your help!
Best wishes