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.

[参考译文] CC2652R7:设置 CHIP_ENABLE_OTA_requestor = false 编译失败

Guru**** 2460850 points
Other Parts Discussed in Thread: CC2652R7

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

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/1223113/cc2652r7-setting-chip_enable_ota_requestor-false-fails-compilation

器件型号:CC2652R7
"Thread:SysConfig"中讨论的其他器件

以下示例   args.nI 中使用具有 CHIP_ENABLE_OTA_requestor = false 的 TI lighting-app (在其他应用中结果类似):  

LA1LT7WDN593:~/matter/examples/lighting-app/cc13x2x7_26x2x7 ninja -C 输出/调试
Ninja:`"Out/debug"目录
[0/1]重新生成 ninja 文件
[827/833] ld ./chip-LP_CC2652R7照明示例.out
失败:chip-LP_CC2652R7-lighting-example.out chip-LP_CC2652R7-lighting-example.map
arm-none-eabi-g++-L../../third_party/connectedhomeip/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source gen/sSysConfig/ti_utils_build_linker.cmd.genlibs -T../../third_party/connectedhomeip/src/platform/cc13xx_26xx/cc13x2_26x2/cc13x2x7_cc26x2x7_freertos.lds -march=armv7e-m -mcpu=cortex-M4 -mabi=aapcs -fp=fp-sp-d16 @
/home/jmarkel/matter/.environment/cipd/packages/arm/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld:./Cchip-LP_CC2652R7-lighting-example.out 部分`.text"将不适合区域` FLASH'
/home/jmarkel/matter/.environment/cipd/packages/arm/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld:./Cchip-LP_CC2652R7-lighting-example.out 部分`S.bss'将不会装入区域` RAM'
/home/jmarkel/matter/.environment/cipd/packages/arm/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld:section .NVS VMA [0000000000052000.000000055fff]重叠 section .text VMA [00000000000000e0、000000088ebb]
/home/jmarkel/matter/.environment/cipd/packages/arm/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld:区域`闪存'溢出0字节
/home/jmarkel/matter/.environment/cipd/packages/arm/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld:区域`SRAM '溢出55320字节
collect2:错误:LD 返回1个退出状态
Ninja:构建已停止:子命令失败。

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

    您好、Joe!

    这是链接器脚本文件的一个已知问题。  选择非 OTA 时、您将在 ti_simplelink_executed.gi 中发现 使用的是 cc13x2x7_cc26x2x7_freertos.lds 而不是 cc13x2x7_cc26x2x7_freertos_ota.lds 版本。  问题在于、cc13x2x7_cc26x2x7_freertos_ota.lds 被错误地保留为 CC26X2R1封装、这是 CC26X2R7器件的错误闪存/RAM 大小。  因此、您应该能够将 FLASH_SIZE 和 RAM_SIZE 增加到其正确值(分别为0xB0000和0x24000)以解决该问题。  软件开发团队已发现此问题、并已将其包含在他们的故障列表中进行修复。

    此致、
    Ryan