你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

STM32CubeIDE 报错 编译STM32MP135(Projects\STM32MP135C-DK\External_Loader)

[复制链接]
zxq_gdW1W2312 提问时间:2025-6-5 09:43 / 未解决
09:39:09 **** Incremental Build of configuration Debug for project External_Mem_Loader_A7 ****

make all

arm-none-eabi-gcc "../syscalls.c" -mcpu=cortex-a7 -std=gnu11 -g3 -DSTM32MP135Fxx -DCORE_CA7 -DNO_CACHE_USE -DNO_MMU_USE -DUSE_HAL_DRIVER -DUSE_FULL_ASSERT -DUSE_FULL_LL_DRIVER -D__LOG_UART_IO_ -D__CP_SERIAL_BOOT__ -DSDCARD_FLASH -c -I.. -I../../ -I../../Inc -I../../OpenBootloader/Target -I../../OpenBootloader/App -I../../USB_Device/App -I../../USB_Device/Target -I../../../../../../Drivers/CMSIS/Core_A/Include -I../../../../../../Drivers/CMSIS/Device/ST/STM32MP13xx/Include -I../../../../../../Drivers/STM32MP13xx_HAL_Driver/Inc -I../../../../../../Drivers/BSP/STM32MP13xx_DISCO -I../../../../../../Drivers/BSP/Components/Common -I../../../../../../Middlewares/ST/OpenBootloader/Core -I../../../../../../Middlewares/ST/OpenBootloader/Util -I../../../../../../Middlewares/ST/OpenBootloader/Modules/USART -I../../../../../../Middlewares/ST/OpenBootloader/Modules/USB -I../../../../../../Middlewares/ST/OpenBootloader/Modules/Mem -I../../../../../../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../../../../../../Middlewares/ST/STM32_USB_Device_Library/Class/DFU/Inc -I../../../../../../Middlewares/ST/STM32_USB_Device_Library/Class/CompositeBuilder/Inc -Og -ffunction-sections -Wall -Wno-strict-aliasing -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"syscalls.d" -MT"syscalls.o" --specs=nano.specs -mfpu=vfpv4-d16 -mfloat-abi=hard -mthumb -o "syscalls.o"

arm-none-eabi-gcc -o "External_Mem_Loader_A7.elf" @"objects.list"   -mcpu=cortex-a7 -T"../stm32mp13xx_a7_sysram.ld" --specs=nosys.specs -Wl,-Map="External_Mem_Loader_A7.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=vfpv4-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group

F:/ST/STM32CubeIDE_1.18.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: cannot find entry symbol Reset_Handler; not setting start address

Finished building target: External_Mem_Loader_A7.elf

arm-none-eabi-size  External_Mem_Loader_A7.elf

text           data            bss            dec            hex        filename

4096              8           1568           5672           1628        External_Mem_Loader_A7.elf

Finished building: default.size.stdout

arm-none-eabi-objdump -h -S External_Mem_Loader_A7.elf  > "External_Mem_Loader_A7.list"

Finished building: External_Mem_Loader_A7.list

arm-none-eabi-objcopy  -O binary External_Mem_Loader_A7.elf  "External_Mem_Loader_A7.bin"

Finished building: External_Mem_Loader_A7.bin

../../../../../../Utilities/ImageHeader/postbuild_STM32MP13.sh  "F:\ST\STM32CubeIDE_1.18.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344\tools\bin" "External_Mem_Loader_A7"

Postbuild with windows executable

<D> readelf_path                =<F:\ST\STM32CubeIDE_1.18.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344\tools\bin/arm-none-eabi-readelf.exe>

<D> objcopy_path                =<F:\ST\STM32CubeIDE_1.18.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344\tools\bin/arm-none-eabi-objcopy.exe>

<D> elf_entry_point             =<0x0>

<D> formatted_ep_addr           =<00000000>

../../../../../../Utilities/ImageHeader/postbuild_STM32MP13.sh: line 75: F:/Program: Permission denied

postbuild_STM32MP13.sh failed
收藏 评论2 发布时间:2025-6-5 09:43

举报

2个回答
zxq_gdW1W2312 回答时间:前天 09:44

另外这个F:/Program 这个文件夹有 而且可写

zxq_gdW1W2312 回答时间:昨天 16:34

找到原因了

1。系统必须安装Git

2。所有文件夹名不能有空格和中文名

所属标签

相似问题

官网相关资源

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
st-img 微信公众号
st-img 手机版