STM32/STM8技术论坛
直播中

岳臻俊

7年用户 1014经验值
私信 关注
[问答]

Stm32Mp135+Stm32Header在cubeide加入编译命令,编译出错怎么解决?

本人按照文档在cubeide加入编译命令:"../../../../../../../Utilities/ImageHeader/postbuild_STM32MP13.sh" "${gnu_tools_for_stm32_compiler_path}" "${BuildArtifactFileBaseName}"
编译发现如下错误:
"../../../../../../../Utilities/ImageHeader/postbuild_STM32MP13.sh" "D:CubeIdeSTM32CubeIDE_1.14.0STM32CubeIDEpluginscom.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.100.202309141235toolsbin" "MP13_BSP_BasicTemplates"Postbuild with windows executable readelf_path                = objcopy_path                = elf_entry_point             =<0xc0000000> formatted_ep_addr           =Fatal Python error: cannot get zipimporter instance
This application has requested the Runtime to terminate it in an unusual way.Please contact the application's support team for more information.postbuild_STM32MP13.sh failed
请教大家,这是什么原因导致呢?

回帖(1)

唐红菊

2024-3-7 15:39:25
试试这个命令
arm-none-eabi-objcopy -O binary "${BuildArtifactFileBaseName}.elf" "${BuildArtifactFileBaseName}.bin"   "../postbuild.sh" "." "${BuildArtifactFileBaseName}.bin" "{BuildArtifactFileBaseName}_Signed.bin" "-bt 10" "-ep C0000000"
举报

更多回帖

发帖
×
20
完善资料,
赚取积分