This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC26X2R1: CC2652R1

Part Number: LAUNCHXL-CC26X2R1


开发工具:CCS12.3.0.00005_win64

SDK:simplelink_cc13xx_cc26xx_sdk_7_10_01_24.exe

问题:

导入sdk的project_zero_CC26X2R1_LAUNCHXL_tirtos7_ticlang例子,会生成project_zero_CC26X2R1_LAUNCHXL_tirtos7_ticlang_oad.bin,将project_zero_CC26X2R1_LAUNCHXL_tirtos7_ticlang_oad.bin烧录到LAUNCHXL-CC26X2R1板子中功能ok。

但是,其他例子工程没有生成.bin文件,烧录.hex文件又不行,我发现在属性-》Build-》Steps下面的post-build中有个指令是在project_zero_CC26X2R1_LAUNCHXL_tirtos7_ticlang中有,而其他例子没有${COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR}/tools/common/oad/oad_image_tool --verbose ccs ${PROJECT_LOC} 7 -hex1 ${ConfigName}/${ProjName}.hex -k ${COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR}/tools/common/oad/private.pem -o ${ConfigName}/${ProjName}_oad

我把上面的指令复制到工程connection_monitor_CC26X2R1_LAUNCHXL_tirtos7_ticlang中,编译失败了,错误如下:

OverflowError: can't convert negative int to unsigned
[12940] Failed to execute script 'oad_image_tool' due to unhandled exception!

所以,请问如何将不生成bin工程修改为生成bin的工程?