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.

[参考译文] CCS/CC2650:代码编辑器工作室6.1 中的重置ISR问题.................3无法构建CMSIS示例之一。

Guru**** 2551110 points
Other Parts Discussed in Thread: CC2650

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/582887/ccs-cc2650-reset-isr-issue-in-code-composer-studio-6-1-3-unable-to-build-one-of-cmsis-example

部件号:CC2650

工具/软件:Code Composer Studio

您好,

  我正在尝试将FFT函数移植到Sensortag,因此我使用CMSIS库并使用 以下链接构建静态库: www.ti.com/.../spma041g.pdf

 在此之后,我将尝试使用其中一个示例,并获得以下构建问题:


****配置构建CorexM3_ex项目的调试****

"C:\\ti\\ccsv6\\utils\\bin\\gmake "-k all
'构建文件:C:/ti/CMSIS_5-devel/CMSIS/DSP/示例/arm/arm_matrix_example_arm_matrix _example_F32.c'
'调用:ARM编译器'
“c:\ti/ccsv6/tools/compiler/ti-CGT-arm_matrix.5/bin/armcl" 5.2 -mv7M3 --code_state=16 --abi=eabi -me -ime-include_path="C:/ti/cv/ccsv6/tools/compiler/ti-CGT-arm_arm_arm_cru_fi=-reflut_mis_-msci_cis_fic_c= 5.2 -reflos_cis_-msci_cis_-cis_-cis_cis_cis_cis_cis_cis_cis_f5-comprema_cru_cis_-mscreen-f_c= cis_-msp_cis_-cis_c_
"C:/ti/ccsv6/tools/compiler/ti-CGT-arm_link.5/include/linking.h" 5.2 ,第56行:警告#48-D:宏"__inline"的不兼容重新定义(声明在"C:\ti\CMSI_5-devele\CMIS\Core\include\CMSI_compiler.h"的第119行)
'完成的建筑:C:/ti/CMSIS_5-devel/CMSIS/DSP/示例/arm/arm_matrix_example_arm_matrix示例/matrix_example_F32.c'
''
'构建文件:C:/ti/CMSIS_5-devel/CMSIS/DSP/示例/arm/arm_matrix_example/matht_helper.c'
'调用:ARM编译器'
c:\ti/ccsv6/tools/compiler/ti-CGT-arm_compiler.5/bin/armcl" 5.2 -mv7M3 --code_state=16 --abi=eabi -me -diag-include_path="C:/ti/cv/ccsv6/tools/compiler/ti-CGti-arm_arm_cru_perf=mis 5.2 -msp_perf_mis -f_c=5 -msp_msp_mscreper_mis -f_c_c_c_c_cis -fic_c=-c_cis:d/secrema_c_c_cis = c_
'完成的建筑:C:/ti/CMSIS_5-devel/CMSIS/DSP/示例/arm/arm_matrix.example/matht_helper.c'
''
'正在构建目标:CortexM3_ex.out '
'调用:ARM链接器'
c:\ti/ccsv6/tools/compiler/ti-CGT-arm_textmc.5/bin/armcl" 5.2 -mv7M3 --code_state=16 --abi=eabi -me -svdiag -g --define=_lib_lib--define=arm_math_cm3 --define=__fpu_present=1 ---ex_diag_super_from_support/heel_mb -line_from_support/-rema_line_from-from_from_line_from-from-re_from_from_from-from-re_from-re_from_from-from_from_from-re_from-from-re_re_from-from_from-re_re_from-from-from_from_from-from_from-from_from_from-from_from_from-re_re_re_from-from-from_from_from_from_re 5.2 5.2
链接>

未定义的第一个引用
文件中的符号
------------------- --------
重新设置ISR

错误#1.0234万-D:仍存在未解析的符号
警告#1.0062万-D:未定义入口点符号"ResetISR"
错误#1.001万:链接时出错;未生成"CortexM3_ex.out

>>编译失败
Makefile:142:目标'CortexM3_ex.out '的配方失败
gmake:***[CortexM3_ex.ut]错误1
gmake:由于错误,目标'all'没有重制。

****构建已完成****

我有什么想法可以纠正这种情况?

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

    Vinay,

    您似乎已经开始在CC2650的CCS中创建一个新项目,并添加构建CMSIS库所需的文件。 这实际上不是CC2650设备的预期过程。 建议使用CC2650 BLE堆栈SDK示例之一作为起点。 详情请参阅 此帖子 。 请注意,该POST中引用的CC26xxWare不再作为单独的软件包提供,它现在与CC13xx/CC26xx的TI-RTOS捆绑在一起(可从 此处下载)。

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

    谢谢AartAG。

    我通过添加STARTUP_CCS.c解决了这个问题,该程序具有中断向量及其各自的函数,最重要的是 CCS初始化_c_int00。
    因此,我的示例在没有TI-RTOS的情况下工作。 唯一的问题是,与RTOS不同,它不会处理故障。 因为我的目的是检查CMSIS库的FFT函数,所以它起到了作用。