*** Using Compiler '', folder: 'E:\Keil_v5\ARM\ARMCLANG\Bin' Build target 'Target 1' compiling core_cm3.c... *** Error: CreateProcess failed, Command: '"E:\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via ".\objects\core_cm3.__i"' compiling system_stm32f10x.c... *** Error: CreateProcess failed, Command: '"E:\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via ".\objects\system_stm32f10x.__i"' compiling misc.c... *** Error: CreateProcess failed, Command: '"E:\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via ".\objects\misc.__i"' compiling stm32f10x_bkp.c... *** Error: CreateProcess failed, Command: '"E:\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via ".\objects\stm32f10x_bkp.__i"' compiling stm32f10x_adc.c... *** Error: CreateProcess failed, Command: '"E:\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via ".\objects\stm32f10x_adc.__i"' compiling stm32f10x_can.c... *** Error: CreateProcess failed, Command: '"E:\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via ".\objects\stm32f10x_can.__i"' compiling stm32f10x_cec.c... *** Error: CreateProcess failed, Command: '"E:\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via ".\objects\stm32f10x_cec.__i"' compiling stm32f10x_crc.c... *** Error: CreateProcess failed, Command: '"E:\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via ".\objects\stm32f10x_crc.__i"' linking... .\Objects\test.axf: Error: L6967E: Entry point (0x08000000) points to a Thumb instruction but is not a valid Thumb code pointer. Finished: 0 information, 0 warning and 1 error messages. ".\Objects\test.axf" - 1 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:00
时间: 2023-07-22 10:12:34 浏览: 767
这个错误通常是因为编译器无法执行命令而导致的。这可能是由于编译器路径配置不正确或编译器文件损坏引起的。请尝试以下解决方法:
1. 确保编译器的路径配置正确。检查你使用的Keil软件中的编译器路径设置,确保指向正确的ARMCLANG文件夹。
2. 检查编译器文件是否完整且没有损坏。尝试重新安装或更新Keil软件,以确保编译器文件完整。
3. 重新启动计算机并尝试重新编译项目。有时候重新启动可以解决临时的问题。
如果以上方法都无法解决问题,请提供更多关于你的环境和项目设置的信息,以便我能够更好地帮助你解决问题。
相关问题
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'Target 1' assembling startup_stm32f10x_md.s... compiling user.c... C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.2.0\Device\Include\stm32f10x.h(483): error: #5: cannot open source input file "core_cm3.h": No such file or directory #include "core_cm3.h" user\user.c: 0 warnings, 1 error compiling core_cm3.c... compiling system_stm32f10x.c... ".\1.axf" - 1 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:00
这段代码是编译器编译 STM32F1xx 系列芯片的代码时出现了错误。错误信息显示找不到头文件 core_cm3.h。
这可能是由于编译器没有找到该头文件,或者该头文件没有正确安装。您可以尝试检查以下内容:
1. 检查编译器是否正确安装,并且已经添加了正确的环境变量。
2. 检查是否已经安装了 STM32F1xx 的支持包,并且版本是否正确。
3. 检查在编译器中是否已经添加了正确的搜索路径,以便可以找到该头文件。
如果您已经确认以上问题都没有出现,那么您可以尝试使用其他版本的该头文件,或者从其他地方下载该头文件并将其添加到编译器的搜索路径中。
希望这些信息能够帮助您解决问题。
*** Error: CreateProcess failed, Command: '"C:\Keil_v5\ARM\ARMCLANG\bin\\ArmCC" --via "demo\stm32f4xx_hal_rcc.__i"'
As an AI language model, I do not have enough context to determine the root cause of this error. However, this error message indicates that the CreateProcess function failed while executing a command. The command appears to be related to the ArmCC compiler, which is used to compile code for ARM processors.
Possible reasons for this error include incorrect installation or configuration of the compiler, missing system resources, or conflicts with other software. To resolve this error, it is recommended to review the installation and configuration of the ArmCC compiler, check for any missing dependencies or system resources, and ensure that there are no conflicts with other software. Also, make sure that the path to the compiler is correct and that the required files are present.
阅读全文