KEIL工程.c文件上面有‘*’和‘-’标志

本文解释了KEIL工程中的'.'和'-'标记,当文件未被目标构建选中时,它们表示文件将不参与编译。默认情况下,应确保'Include in Target Build'选项已启用。

KEIL工程.c文件上面有‘*’和‘-’标志,如下图:

在这里插入图片描述

这是因为当前文件Options for File->Properties中Include in Target Build没有选中,表示当前文件不编译(注;默认状态是选中)。

*** Using Compiler '', folder: 'C:\Users\hedy2\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin' Build target 'MiniBalance' compiling core_cm3.c... *** Error: CreateProcess failed, Command: '"C:\Users\hedy2\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via "..\obj\core_cm3.__i"' compiling MiniBalance.c... *** Error: CreateProcess failed, Command: '"C:\Users\hedy2\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via "..\obj\minibalance.__i"' compiling system_stm32f10x.c... *** Error: CreateProcess failed, Command: '"C:\Users\hedy2\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via "..\obj\system_stm32f10x.__i"' compiling stm32f10x_can.c... *** Error: CreateProcess failed, Command: '"C:\Users\hedy2\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via "..\obj\stm32f10x_can.__i"' compiling stm32f10x_crc.c... *** Error: CreateProcess failed, Command: '"C:\Users\hedy2\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via "..\obj\stm32f10x_crc.__i"' compiling stm32f10x_cec.c... *** Error: CreateProcess failed, Command: '"C:\Users\hedy2\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via "..\obj\stm32f10x_cec.__i"' compiling stm32f10x_it.c... *** Error: CreateProcess failed, Command: '"C:\Users\hedy2\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via "..\obj\stm32f10x_it.__i"' compiling misc.c... *** Error: CreateProcess failed, Command: '"C:\Users\hedy2\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via "..\obj\misc.__i"' compiling stm32f10x_adc.c... *** Error: CreateProcess failed, Command: '"C:\Users\hedy2\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via "..\obj\stm32f10x_adc.__i"' compiling stm32f10x_bkp.c... *** Error: CreateProcess failed, Command: '"C:\Users\hedy2\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via "..\obj\stm32f10x_bkp.__i"' compiling stm32f10x_dac.c... *** Error: CreateProcess failed, Command: '"C:\Users\hedy2\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin\ArmCC" --via "..\obj\stm32f10x_dac.__i"' assembling startup_stm32f10x_md.s... startup_stm32f10x_md.s: Warning: A1950W: The legacy armasm assembler is deprecated. Consider using the armclang integrated assembler instead. startup_stm32f10x_md.s: Warning: A3910W: Old syntax, please use '--list='. linking... ..\OBJ\MiniBalance.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. "..\OBJ\MiniBalance.axf" - 1 Error(s), 2 Warning(s). Target not created. Build Time Elapsed: 00:00:01
最新发布
10-24
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值