请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:LP-CC1352P7 主题中讨论的其他器件:CC1352P7
您好、TI 专家。
我们在编译 Sid_demo、但存在一些问题。
1.本例程中没有 AWS Credentials.YAML,因此我们自己创建了 AWS Credentials.YAML。

2.在上次编译后,出现编译失败,日志显示如下。
C:/ti/simplelink_cc13xx_cc26xx_sdk_7_10_01_24/tools/sidewalk/web_app/bin/deploy_stack -c C:/Users/Weli/workspace_v12/sid_demo_LP_CC1352P7_1_freertos_gcc/Debug/syscfg/ti_sidewalk_config.yaml --credentials C:/Users/Weli/workspace_v12/sid_demo_LP_CC1352P7_1_freertos_gcc/aws_credentials/aws_credentials.yaml
[INFO] Reading ti_sidewalk_config.yaml file...
[SUCCESS] File read successfully.
[INFO] Reading config_grafana.yaml file...
[SUCCESS] File read successfully.
makefile:263: recipe for target 'post-build' failed
Traceback (most recent call last):
File "deploy_stack_app.py", line 153, in <module>
File "deploy_stack_app.py", line 37, in main
File "libs\credentials.py", line 24, in __init__
File "libs\credentials.py", line 32, in _read_credentials
TypeError: string indices must be integers
[29852] Failed to execute script 'deploy_stack_app' due to unhandled exception!
gmake[2]: [post-build] Error 1 (ignored)
C:/ti/simplelink_cc13xx_cc26xx_sdk_7_10_01_24/tools/sidewalk/generate_prototype/bin/generate_prototype -c C:/Users/Weli/workspace_v12/sid_demo_LP_CC1352P7_1_freertos_gcc/Debug/syscfg/ti_sidewalk_config.yaml -o C:/Users/Weli/workspace_v12/sid_demo_LP_CC1352P7_1_freertos_gcc/Debug/SidewalkDevice --credentials C:/Users/Weli/workspace_v12/sid_demo_LP_CC1352P7_1_freertos_gcc/aws_credentials/aws_credentials.yaml
makefile:263: recipe for target 'post-build' failed
Traceback (most recent call last):
File "generate_prototype_app.py", line 251, in <module>
File "generate_prototype_app.py", line 68, in main
TypeError: string indices must be integers
[35360] Failed to execute script 'generate_prototype_app' due to unhandled exception!
gmake[2]: [post-build] Error 1 (ignored)
C:/ti/simplelink_cc13xx_cc26xx_sdk_7_10_01_24/tools/sidewalk/merge_bin_with_hex/bin/merge_bin_with_hex C:/Users/Weli/workspace_v12/sid_demo_LP_CC1352P7_1_freertos_gcc/Debug/sid_demo_LP_CC1352P7_1_freertos_gcc.hex C:/Users/Weli/workspace_v12/sid_demo_LP_CC1352P7_1_freertos_gcc/Debug/SidewalkDevice/TI.bin 0xAE000 C:/Users/Weli/workspace_v12/sid_demo_LP_CC1352P7_1_freertos_gcc/Debug/sid_demo_LP_CC1352P7_1_freertos_gcc_merged.hex
('ERROR: unable to load bin file:', "[Errno 2] No such file or directory: 'C:/Users/Weli/workspace_v12/sid_demo_LP_CC1352P7_1_freertos_gcc/Debug/SidewalkDevice/TI.bin'")
makefile:263: recipe for target 'post-build' failed
Traceback (most recent call last):
File "merge_bin_with_hex_app.py", line 26, in <module>
File "intelhex\__init__.py", line 90, in __init__
File "intelhex\__init__.py", line 199, in loadhex
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/Weli/AppData/Local/Temp/tmp5kz4ac_x/temp.hex'
[24112] Failed to execute script 'merge_bin_with_hex_app' due to unhandled exception!
gmake[2]: [post-build] Error 1 (ignored)
我如何解决这一问题?
CCS 版本:12.3.0.00005
SDK:simplelink_cc13xx_cc26xx_sdk_7_10_01_24
谢谢。