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.

[参考译文] LP-CC1312R7:禁用 SysConfig 时可以't BUILD

Guru**** 2344470 points
Other Parts Discussed in Thread: SYSBIOS, SYSCONFIG, CC1312R7
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1499089/lp-cc1312r7-can-t-build-when-disable-sysconfig

器件型号:LP-CC1312R7
主题中讨论的其他器件:CC1312R7、SYSBIOS、 SysConfig

工具/软件:

尊敬的专家:

如果我 在 CC13xx 上禁用 SysConfig、则无法构建它。

我按照中的说明操作、但出现了以下错误。
您能告诉我该怎么做吗?

[13]**** Build of configuration Debug for project rfPacketRx_LP_CC1312R7_tirtos7_ticlang ****
[14]"C:\\ti\\ccs2011\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
 
[15]Building file: "../RFQueue.c"
[16]Invoking: Arm Compiler
[17]"C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c @"C:/Users/<User>/workspace_ccstheia/rfPacketRx_LP_CC1312R7_tirtos7_ticlang/syscfg/"  -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mlittle-endian -mthumb -I"C:/Users/<User>/workspace_ccstheia/rfPacketRx_LP_CC1312R7_tirtos7_ticlang/syscfg" -I"C:/Users/<User>/workspace_ccstheia/rfPacketRx_LP_CC1312R7_tirtos7_ticlang" -I"C:/Users/<User>/workspace_ccstheia/rfPacketRx_LP_CC1312R7_tirtos7_ticlang/Debug" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_8_30_01_01/source" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_8_30_01_01/kernel/tirtos7/packages" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_8_30_01_01/source/ti/posix/ticlang" -gdwarf-3 -march=armv7e-m -MMD -MP -MF"RFQueue.d_raw" -MT"RFQueue.o" -I"C:/Users/<User>/workspace_ccstheia/rfPacketRx_LP_CC1312R7_tirtos7_ticlang/Debug/syscfg"   -o"RFQueue.o" "../RFQueue.c"
[18]subdir_rules.mk:9: recipe for target 'RFQueue.o' failed
[19]tiarmclang: error: no such file or directory: '@C:/Users/<User>/workspace_ccstheia/rfPacketRx_LP_CC1312R7_tirtos7_ticlang/syscfg/'
[20]gmake: *** [RFQueue.o] Error 1

* The following is the same error *
[26]gmake: *** [main_tirtos.o] Error 1
[32]gmake: *** [rfPacketRx.o] Error 1
[38]gmake: *** [syscfg/ti_devices_config.o] Error 1
[44]gmake: *** [syscfg/ti_drivers_config.o] Error 1
[50]gmake: *** [syscfg/ti_radio_config.o] Error 1
[56]gmake: *** [syscfg/ti_sysbios_config.o] Error 1
[57]gmake: Target 'all' not remade because of errors.
[58]**** Build Finished 

  1. 导入"rfPacketrx_LP_CC1312R7_tirtos7_ticlang"
  2. 使用 syscfg 进行构建
  3. 将 调试中的 syscfg 复制到"rfPacketrx_LP_CC1312R7_tirtos7_ticlang"
  4. 将 syscfg 设置为"Exclude from Build"
  5. 将"${PROJECT_ROOT}/syscfg"添加到"Include Options"
  6. 将"${PROJECT_ROOT}/syscfg"添加到"Command Files"中
  7. 将"File Search Path"中的"${PROJECT_BUILD_DIR}/syscfg/"更改为"${PROJECT_ROOT}/syscfg"

此致、
正常

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    您需要在启用 SysConfig 的情况下编译一次工程、以生成第一个版本的 SysConfig 生成文件。 TI_RADIO_CONFIG.c 和 h 等

    编译一次工程后、将输出文件夹(例如 Debug/syscfg)中的文件复制到您的应用工程根目录中。 现在可以禁用 SysConfig。

    这里有一个指南:

    https://dev.ti.com/tirex/explore/content/simplelink_cc13xx_cc26xx_sdk_8_30_01_01/docs/proprietary-rf/proprietary-rf-users-guide/sysconfig/sysconfig-disable.html 

    谢谢、

    Marie H

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的  Marie H:

    感谢您的答复。

    [报价 userid="402494" url="~/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1499089/lp-cc1312r7-can-t-build-when-disable-sysconfig
    • 导入"rfPacketrx_LP_CC1312R7_tirtos7_ticlang"
    • 使用 syscfg 进行构建
    • 将 调试中的 syscfg 复制到"rfPacketrx_LP_CC1312R7_tirtos7_ticlang"
    • 将 syscfg 设置为"Exclude from Build"
    • 将"${PROJECT_ROOT}/syscfg"添加到"Include Options"
    • 将"${PROJECT_ROOT}/syscfg"添加到"Command Files"中
    • 将"File Search Path"中的"${PROJECT_BUILD_DIR}/syscfg/"更改为"${PROJECT_ROOT}/syscfg"
    [/报价]

    我们将根据您提供的 URL 执行上述步骤。
    您能告诉我们、如果有什么问题吗?

    此致、
    正常

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    错误消息表明 rfPacketrx_LP_CC1312R7_tirtos7_ticlang 工程中没有名为 syscfg 的文件夹。 您能仔细检查一下吗?

    谢谢、

    Marie H

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Marie H:

    我尝试使用"Custom"而非"syscfg"、但得到的错误完全相同。

    此致、
    正常

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    问题是您将文件夹置于链接器和编译器不知道的路径中。

    如果您想自行简化、可以将文件直接放在工程根目录(rfEchoTx_LP_CC1312R7_nortos_ticlang)中。  

    如果创建一个新文件夹(syscfg 或自定义)、则需要将此路径添加到编译器路径(Project > Properties > ARM Compiler > Include Options)和链接器路径(Project > Properties > ARM Linker > File Search Path)中。

    谢谢、
    Marie H

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Marie H:

    我放弃了添加文件夹。

    如果我直接在工程下添加了该工程、则可以构建该工程、但需要执行以下步骤。
    将"ti_drivers_config.h"中的"DeviceFamily_CC13X2X7"添加到编译器预定义的(Project > Properties > ARM Compiler > Predefined Symbols)
    将"${PROJECT_ROOT}"添加到链接器路径 (Project > Properties > ARM Linker > File Search Path)

    此致、
    正常

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    感谢您发布适用于您的步骤!

    谢谢、

    Marie H