微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > cc2650em 在IAR 7.70.2编译失败

cc2650em 在IAR 7.70.2编译失败

时间:10-02 整理:3721RD 点击:

编译信息如下:

Building configuration: cc2650em_stack - FlashROM
Updating build tree...
C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack\FlashROM\Obj\hal_assert.pbi

1 file(s) deleted.
Updating build tree...

Performing Pre-Build Action
"C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack\..\..\..\..\..\tools/lib_search/lib_search.exe" C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack/build_config.opt "C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
simple_peripheral\iar\stack\..\..\..\..\..\tools/lib_search/params_split_cc2640.xml" C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\
stack\..\..\..\..\..\src/../blelib C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack/../config/lib_linker.cmd
usage: lib_search [-h] [-v] opt lib_dir cmd device xml symbol_src
lib_search: error: the following arguments are required: xml, symbol_src
Error while running "C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack\..\..\..\..\..\tools/lib_search/lib_search.exe" C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack/build_config.opt "C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
simple_peripheral\iar\stack\..\..\..\..\..\tools/lib_search/params_split_cc2640.xml" C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\
stack\..\..\..\..\..\src/../blelib C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack/../config/lib_linker.cmd

Total number of errors: 1
Total number of warnings: 0

找不到lib_linker.cmd

lib_search.exe已经更换位32位系统的

我用的iar版本为7.8.40,可以正常使用。

lib_search.exe是给cc2640r2版本用的。

按照release note的要求,IAR7.70.2版本符合了。建议更换电脑或者更新版本再试一下

我在64位win7系统安装直接编译没有问题,32位win7安装就不行,而且是cc2650em_app和cc2650em_stack都编译不过,iar已经安装在根目录不在空格的英文路径下面了

你好viki,

更换高版本还是低版本?32位win7系统有没有推荐版本

应该是系统与IAR不匹配,目前这两个大家用破解版的多,有时候破解版会出现点奇奇怪怪的问题

我重装了iar,现在cc2650em_stack编译通过了,但是cc2650em_app编译不过,编译信息如下:

Building configuration: cc2650em_app - FlashROM
Updating build tree...

0 file(s) deleted.
Updating build tree...

Performing Pre-Build Action
"C:\ti\xdctools_3_32_00_06_core/xs" --xdcpath="C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\tidrivers_cc13xx_cc26xx_2_20_01_10\packages;C:\ti\
tirtos_cc13xx_cc26xx_2_20_01_08\products\bios_6_46_01_38\packages" iar.tools.configuro -c "C:\IAR\Embedded Workbench 7.5\arm" --cc "C:\IAR\Embedded
Workbench 7.5\arm\bin\iccarm.exe" --device "CC2650F128" --compileOptions "-D BOARD_DISPLAY_EXCLUDE_UART -D CC2650DK_7ID -D CC26XX -D
HEAPMGR_SIZE=0 -D ICALL_MAX_NUM_ENTITIES=6 -D ICALL_MAX_NUM_TASKS=3 -D POWER_SAVING -D USE_ICALL -D
xBOARD_DISPLAY_EXCLUDE_LCD -D xDisplay_DISABLE_ALL -D xdc_runtime_Assert_DISABLE_ALL -D xdc_runtime_Log_DISABLE_ALL --diag_suppress
Pa050 -o C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\FlashROM\Obj --debug --endian=little --cpu=Cortex-M3 -f C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/config/build_components.opt -f C:\ti\simplelink\ble_sdk_2_02_01_18\
examples\cc2650em\simple_peripheral\iar\stack\..\stack\build_config.opt -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack\
..\config\configPkg\compiler.opt.defs -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack\..\config\iar_boundary.bdef -e
--fpu=None --dlib_config \"C:\IAR\Embedded Workbench 7.5\arm\INC\c\DLib_Config_Normal.h\" -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
simple_peripheral\iar\app\..\..\..\..\..\src/controller/cc26xx/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/inc\
-I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/common/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\
examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/icall/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\
..\src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/profiles/dev_info\ -I C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/profiles/roles\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
simple_peripheral\iar\app\..\..\..\..\..\src/profiles/roles/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\
src/profiles/simple_profile\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/profiles/simple_profile/cc26xx\ -I C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/target\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
simple_peripheral\iar\app\..\..\..\..\..\src\components/hal/src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\
components/hal/src/target/_common\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\
components/hal/src/target/_common/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\
components/hal/src/target/cc2650/rom\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\components/heapmgr\
-I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\components/icall/src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\
examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\components/osal/src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
simple_peripheral\iar\app\..\..\..\..\..\src\components/services/src/saddr\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\
..\..\..\src\components/services/src/sdata\ -I C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\cc26xxware_2_24_02_17393\ -I C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\
products\tidrivers_cc13xx_cc26xx_2_20_01_10\packages\ -Ohz" --linkOptions "-o C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\
app\FlashROM\Exe\simple_peripheral_cc2650em_app.out --map C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\FlashROM\
List\simple_peripheral_cc2650em_app.map --config C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\
src/common/cc26xx/iar/cc26xx_app.icf --keep __vector_table -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack\..\config\
configPkg\linker.cmd -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack\..\config\iar_boundary.xcl C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\rom\common_rom_releases\03282014\common_rom.symbols C:\ti\
tirtos_cc13xx_cc26xx_2_20_01_08\products\cc26xxware_2_24_02_17393\driverlib\bin\iar\driverlib.lib --entry __iar_program_start --vfe" --profile release --projFile "C:\
ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\cc2650em_app.ewp"
Using RTSC configuration file: C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650em/simple_peripheral/iar/app/../config/app_ble.cfg...
configuring app_ble.xrm3 from package/cfg/app_ble_prm3.cfg ...
warning: xdc.cfg.Program: "C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/bios_6_46_01_38/packages/ti/sysbios/hal/Hwi.xs", line 181: xdc.cfg.Program stack: For
IAR targets, Program.stack is ignored. The C and Hwi stack sizes are determined by the size of the CSTACK section definition within the linker command file.
generating custom ROM library makefile ...
Starting build of library sources ...
3 [main] ? (3232) C:\Jennic\cygwin\bin\sh.exe: *** fatal error - system shared memory version mismatch detected - 0x8A88009C/0x2D1E009C.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
gmake: *** [C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650em/simple_peripheral/iar/config/src/sysbios/rom_sysbios.arm3] Error 256
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed:
exit status = 2:
Build of libraries failed.
js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/app_ble_prm3.xdl] Error 1
xdctools_3_32_00_06_core\gmake.exe: *** Deleting file `package/cfg/app_ble_prm3.xdl'
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/app_ble_prm3.xdl] Deleting file `package/cfg/app_ble_prm3.h'
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/app_ble_prm3.xdl] Deleting file `package/cfg/app_ble_prm3.c'
js: "C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/bios_6_46_01_38/packages/iar/tools/configuro/Main.xs", line 133: Error: xdc.tools.configuro: configuration failed
due to earlier errors (status = 2); 'linker.cmd' deleted.
Error while running "C:\ti\xdctools_3_32_00_06_core/xs" --xdcpath="C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\tidrivers_cc13xx_cc26xx_2_20_01_10\
packages;C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\bios_6_46_01_38\packages" iar.tools.configuro -c "C:\IAR\Embedded Workbench 7.5\arm" --cc "C:\IAR\
Embedded Workbench 7.5\arm\bin\iccarm.exe" --device "CC2650F128" --compileOptions "-D BOARD_DISPLAY_EXCLUDE_UART -D CC2650DK_7ID -D CC26XX
-D HEAPMGR_SIZE=0 -D ICALL_MAX_NUM_ENTITIES=6 -D ICALL_MAX_NUM_TASKS=3 -D POWER_SAVING -D USE_ICALL -D
xBOARD_DISPLAY_EXCLUDE_LCD -D xDisplay_DISABLE_ALL -D xdc_runtime_Assert_DISABLE_ALL -D xdc_runtime_Log_DISABLE_ALL --diag_suppress
Pa050 -o C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\FlashROM\Obj --debug --endian=little --cpu=Cortex-M3 -f C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/config/build_components.opt -f C:\ti\simplelink\ble_sdk_2_02_01_18\
examples\cc2650em\simple_peripheral\iar\stack\..\stack\build_config.opt -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack\
..\config\configPkg\compiler.opt.defs -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack\..\config\iar_boundary.bdef -e
--fpu=None --dlib_config \"C:\IAR\Embedded Workbench 7.5\arm\INC\c\DLib_Config_Normal.h\" -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
simple_peripheral\iar\app\..\..\..\..\..\src/controller/cc26xx/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/inc\
-I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/common/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\
examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/icall/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\
..\src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/profiles/dev_info\ -I C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/profiles/roles\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
simple_peripheral\iar\app\..\..\..\..\..\src/profiles/roles/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\
src/profiles/simple_profile\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/profiles/simple_profile/cc26xx\ -I C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src/target\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
simple_peripheral\iar\app\..\..\..\..\..\src\components/hal/src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\
components/hal/src/target/_common\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\
components/hal/src/target/_common/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\
components/hal/src/target/cc2650/rom\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\components/heapmgr\
-I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\components/icall/src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\
examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\components/osal/src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\
simple_peripheral\iar\app\..\..\..\..\..\src\components/services/src/saddr\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\
..\..\..\src\components/services/src/sdata\ -I C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\cc26xxware_2_24_02_17393\ -I C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\
products\tidrivers_cc13xx_cc26xx_2_20_01_10\packages\ -Ohz" --linkOptions "-o C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\
app\FlashROM\Exe\simple_peripheral_cc2650em_app.out --map C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\FlashROM\
List\simple_peripheral_cc2650em_app.map --config C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\
src/common/cc26xx/iar/cc26xx_app.icf --keep __vector_table -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack\..\config\
configPkg\linker.cmd -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\stack\..\config\iar_boundary.xcl C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\..\..\..\..\..\src\rom\common_rom_releases\03282014\common_rom.symbols C:\ti\
tirtos_cc13xx_cc26xx_2_20_01_08\products\cc26xxware_2_24_02_17393\driverlib\bin\iar\driverlib.lib --entry __iar_program_start --vfe" --profile release --projFile "C:\
ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral\iar\app\cc2650em_app.ewp"

Total number of errors: 1
Total number of warnings: 0

求救。。。。。。。。。。

我也遇到了类似的问题。 STACK可以编译,APP的预编译一直报错,没有编译LOG,没有头绪。

环境:

1. 8.0.11的IAR FOR ARM;

2. 2.2.01.08的蓝牙协议栈;

3. WIN10;

4. 所有BLE相关软件都按默认路径安装到C:\ti下。 

5. 官方代码直接编译,simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral

Building configuration: cc2650em_app - FlashROM
Updating build tree...
Performing Pre-Build Action
Error while running "C:\ti\xdctools_3_32_00_06_core/xs" --xdcpath="C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\tidrivers_cc13xx_cc26xx_2_20_01_10\packages;C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\bios_6_46_01_38\
packages" iar.tools.configuro -c "E:\ProgramFiles\IAR Systems\Embedded Workbench 8.0\arm" --cc "E:\ProgramFiles\IAR Systems\Embedded Workbench 8.0\arm\bin\iccarm.exe" --device "CC2650F128" --compileOptions "dummy.c
-D AUTO_ADV=FALSE -D CC2650DK_7ID -D CC26XX -D Display_DISABLE_ALL -D HEAPMGR_SIZE=0 -D ICALL_MAX_NUM_ENTITIES=6 -D ICALL_MAX_NUM_TASKS=4 -D POWER_SAVING -D USE_ICALL -D
xdc_runtime_Assert_DISABLE_ALL -D xdc_runtime_Log_DISABLE_ALL --diag_suppress Pa050 -o C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\FlashROM\Obj --debug --endian=little
--cpu=Cortex-M3 -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src/config/build_components.opt -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\
stack\build_config.opt -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\config\configPkg\compiler.opt.defs -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\
config\iar_boundary.bdef -e --fpu=None --dlib_config \"E:\ProgramFiles\IAR Systems\Embedded Workbench 8.0\arm\INC\c\DLib_Config_Normal.h\" -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\
..\..\..\..\src/controller/cc26xx/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\
src/common/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src/icall/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src/inc\ -I C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src/profiles/batt/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src/profiles/dev_info\ -I C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src/profiles/hid_dev/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src/profiles/hid_dev_kbd\
-I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src/profiles/hid_dev_kbd/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\
src/profiles/roles\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src/profiles/roles/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\
src/profiles/scan_param\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src/profiles/scan_param/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\
app\..\..\..\..\..\src/target\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src\components/hal/src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\
..\..\src\components/hal/src/target/_common\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src\components/hal/src/target/_common/cc26xx\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\
examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src\components/hal/src/target/cc2650/rom\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src\components/heapmgr\ -I C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src\components/icall/src/inc\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src\components/osal/src/inc\ -I C:\ti\
simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src\components/services/src/saddr\ -I C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src\
components/services/src/sdata\ -I C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\cc26xxware_2_24_02_17393\ -I C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\tidrivers_cc13xx_cc26xx_2_20_01_10\packages\ -Ohz" --linkOptions "-o
C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\FlashROM\Exe\hid_emu_kbd_cc2650em_app.out --map C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\FlashROM\
List\hid_emu_kbd_cc2650em_app.map --config C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src/common/cc26xx/iar/cc26xx_app.icf --keep __vector_table -f C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\config\configPkg\linker.cmd -f C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\config\iar_boundary.xcl C:\ti\simplelink\
ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\..\..\..\..\..\src\rom\common_rom_releases\03282014\common_rom.symbols C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\cc26xxware_2_24_02_17393\driverlib\bin\
iar\driverlib.lib --entry __iar_program_start --vfe --text_out locale" --profile release --projFile "C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\hid_emu_kbd_t\iar\app\cc2650em_app.ewp"

关键:大家可以到$PROJECT_PATH\iar\config\configPkg\下查看.errorlog文件,定位自己的错误原因,然后解决。

我这边的问题原因和解决方案如下:

1. 问题原因: IAR 默认安装路径有空格

2. 解决方案:

   方案一: 重装IAR, 将默认路径修改为不含空格的路径,包括IAR自己的两级目录名称也不能含空格。

   方案二: 直接修改现有安装路径,然后到注册表中对应的全部修改一遍(我就是这么干的,很耗时) 

    “IAR Systems\Embedded Workbench 8.0” 修改为 ”IAR_Systems\Embedded_Workbench_8.0”

3. 判断依据:错误日志中有“E:/ProgramFiles/IAR: not found”,而这是我的IAR安装路径的一部分。

    预编译错误时,错误日志输出路径:C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650lp\simple_peripheral\iar\config\configPkg\.errorlog

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top