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/LAUNCHXL-F28379D:错误-无法打开源文件"assert.h"

Guru**** 2524460 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/740536/ccs-launchxl-f28379d-error---cannot-open-source-file-assert-h

器件型号:LAUNCHXL-F28379D
主题中讨论的其他器件:C2000WARE

工具/软件:Code Composer Studio

您好!
TI 的编程示例时、我会发现这一点
实际上、CSS 中的 TMS320C28379D 加载、那么我就有了
错误消息"Ccan not open source (无法打开源)"
文件"assert.h"。 未找到 F2837xD_Device.h 所需的文件、
未设置 define _TMS320C28XX_CLA_时。

如何处理此错误消息、以便可以使用更旧的示例也可以与实际的 CCS 一起运行?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Martin、
    请提供 CCS 和编译器版本。
    您的示例的名称是什么、并为我们提供此示例的完整路径。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我的 CSS:版本8.2.0.00007、编译器 TI v18.1.3.LTS

    示例:Blinky_cpu01 (C2000Ware_DigitalPower_SDK_1_01_00_00/c2000ware/device_support/f2837xd/examples/cpu1/blinky)
    和 Lab1_cpu01、Lab1_cpu02 (实际上是 LAUNCHXL-Software)
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    抱歉、闪烁的 korrect 位置是:c2000\C2000Ware_1_00_05_00\device_support\f2837xd\examples\cpu1\blinky
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    使用 Project -> Import CCS Project...
    并尝试构建。
    如果出现错误、请发布控制台输出。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    ****为项目 blinky_cpu01构建配置 CPU1_RAM ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake"全部

    编译文件:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c
    调用:C2000编译器
    "c:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000 /Entwicklung/P141/Software/P141 /ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -include_path="Z:/Entwicklung/P141/Software/P141 delfino/Software/F2837xD/Device_support/F2837U1_headers/includes -"-preproc_use_board=v2837xd"-delv2837xd_board_us_board_board_overtisr -board_us/pred_us_us_us_board=v2837xd_board_board_overtisr -board_us/cn_us_board_us_board_overtisr -"-board_us_us_us_us_board_overtisr -file_board=clus_us_us

    >>编译失败
    subdir_rules.mk:16:目标'F2837xD_DefaultISR.obj'的配方失败
    "Z:/Entwicklung/P141/Software/P141 Delfino/Software/F2837xD/Device_support/F2837xD_headers/include/F2837xD_device.h"、第104行:致命错误:无法打开源文件"assert.h"
    1在编译"C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c "时检测到灾难性错误。
    编译已终止。
    Gmake:***[F2837xD_DefaultISR.obj]错误1.

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

    [引用 user="Martin Konopka"]:Z:/Entwicklung/P141/Software/P141 Delfino/Software/F2837xD/Device_support/F2837xD_headers/include/F2837xD_device.h"、第104行:致命错误:无法打开源文件"assert.h"

    [引用用户="Martin Konopka"]"C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"

    包含路径不一致。
    应该如下所示:

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    提示非常好、但不幸的是、它仍然不起作用:

    ****为项目 blinky_cpu01构建配置 CPU1_RAM ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake"全部

    编译文件:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm
    调用:C2000编译器
    "c:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include -include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include -include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include:- preproc_usage=v28dproc:render=pru_code_proc - prevature=pru_rus.pru_rand_deconus.c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm
    完工:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm

    编译文件:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c
    调用:C2000编译器
    "c:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include --include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include:--preproc_usage=/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c --preproc_usage=use_prev28u1.c:ruse_proc:rus_use_proc:rusage=ruse_proc:ruse_prev-prev-us_use_proc:ruse_proc:ruse_proc:rus_definc:rus
    完工:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c

    编译文件:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c
    调用:C2000编译器
    "c:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include /ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c -include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include "-include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include:- prevature=proc-vari_us_us=v28d_proc - pred_us_companitivature=v-varius_us_us.cpu.cpu.c:prevus_us_us_proc
    完工:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c

    编译文件:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c
    调用:C2000编译器
    "c:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include /ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c -include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include "-include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include:- preproc_usage=v28d_probulation=pru_proby"-prev28u_us_probulation=v-prob_us_us_prob_proc:-prev-probulation=v-prob_us_prob_us_prob_prob_probultrus-
    完工:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c

    编译文件:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Ipc.c
    调用:C2000编译器
    "c:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include /ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Ipc.c --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include --include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include:--prevus=vcu_proc:pru_us=v28d=pru_use_proc:prevus_usage=pru_proc:pru_use_proc:pru_usage=pru_pru_use_proc:-ruse_usage=pru_pru_pru_use_
    完工:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Ipc.c

    编译文件:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c
    调用:C2000编译器
    "c:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include -include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include -include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include:- preproc_performance_prefusions=t28u1.c:pru_proc -prevr_us_proc:pru_rus_proc =/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c - prevature_proc:pru_rus_rus.pru_proc:-prev-rus_proc:
    完工:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c

    编译文件:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c
    调用:C2000编译器
    "c:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include /ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c -include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include "-include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include:- preproc_usage=v28d_proc:pred_usage=vrus_proc:pru_probulation=vrus_proc:pru_proc:prev-rus_us_probulation=v28u_proc - page=rus_proc:rus_proc:rus_
    完工:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c

    编译文件:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c
    调用:C2000编译器
    "c:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include /ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include --include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include:--preproc_usion=v28d=pru_use_proc:pru_proc:pru_use_remonusage=prue_proc:prue_proc:prue_use_proc:prue_use_proc:prue_use_use_proc:prue_proc:ruse_use_use_
    "C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c "、第828行(第47列):建议:(性能)使用-fp_mode=relaxed 为 FP 除法启用 TMU 硬件支持。
    完工:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c

    编译文件:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm
    调用:C2000编译器
    "c:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include -include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include -include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include:- preus_us=vus_proc -/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm -delivature=pru_us_us_rand_dival=pru.pru.c:prue_proc
    完工:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm

    编译文件:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/blinky/cpu01/blinky_cpu01.c
    调用:C2000编译器
    "c:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include -include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include "-include_path="C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include:- preblink=cru_performance_prevulation=cup_proc:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/blinky/cpu01/blinky_cpu01.c -prevulation=cru_us-prev1.pude_proc:cru_us-prevulation=cru1.pude_proc - pred_up_up_up_us-prevulation=cru1.p
    完工:"c:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/blinky/cpu01/blinky_cpu01.c

    构建目标:"Blinky_cpu01.out"
    调用:C2000链接器
    "c:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -advice:performance=all -define=cpU1 -z -stack_size=0x200 -warn_SECTIONS -rrbline_trlcs.f37xd_ex/f28xd.obj /f28xd_ex./f37d_bline"/f28xd_ex.obj /f2837xd_ex.pr./f28xd.obj /f37xd./f37d./f28xd.obr./f28xd./f28xd./f28xd.obj /f37xd.obr.pr./f28xd./f28xd.obt./f37d.obt./f28xd.pr./f37d.obt.obt.pr./f28xd.pr./f37d./

    错误:找不到文件"libc.a"
    警告:自动 RTS 选择:尝试在索引中自动链接
    库"libc.a"失败;找不到文件
    警告:创建不带 SECTIONS 规范的输出段".text"
    警告:创建不带 SECTIONS 规范的输出段"codestart"
    警告:创建不带段的输出段"EmuBootPinsVar"
    规格
    警告:创建不带段的输出段"EmubmodeVar"
    规格
    警告:创建不带段的输出段"RomPrefetchRegsFile"
    规格
    警告:在不使用的情况下创建输出段"FlashPumpSemaphoreRegsFile"
    部分规格
    警告:创建不带段的输出段"RomWaitStateRegsFile"
    规格
    警告:创建不带段的输出段"Cla1SoftIntRegsFile"
    规格
    警告:创建不带段的输出段"SyncSockRegsFile"
    规格
    警告:创建不带段的输出段"NmiIntertRegsFile"
    规格
    警告:创建不带段的输出段"DacaRegsFile"
    规格
    警告:创建不带段的输出段"CpuTimer2RegsFile"
    规格
    警告:创建不带段的输出段"DaccRegsFile"
    规格
    警告:创建不带段的输出段"DcsmCommonRegsFile"
    规格
    警告:创建不带段的输出段"CpuTimer0RegsFile"
    规格
    警告:创建不带段的输出段"DacbRegsFile"
    规格
    警告:创建不带段的输出段"CpuTimer1RegsFile"
    规格
    警告:创建不带段的输出段"XintRegsFile"
    规格
    警告:创建不带段的输出段"SpiaRegsFile"
    规格
    警告:创建不带段的输出段"SpicRegsFile"
    规格
    警告:创建不带段的输出段"ScibRegsFile"
    规格
    警告:创建不带段的输出段"SciaRegsFile"
    规格
    警告:创建不带段的输出段"scidRegsFile"
    规格
    警告:创建不带段的输出段"ScicRegsFile"
    规格
    警告:创建不带段的输出段"SpibRegsFile"
    规格
    警告:创建不带段的输出段"AdccResultFile"
    规格
    警告:创建不带段的输出段"AdcdResultFile"
    规格
    警告:创建不带段的输出段"AdcaResultFile"
    规格
    警告:创建不带段的输出段"AdcbResultFile"
    规格
    警告:创建不带段的输出段"PieCtrlRegsFile"
    规格
    警告:创建不带段的输出段"DmaClaSrcSelRegsFile"
    规格
    警告:创建不带段的输出段"ECap3RegsFile"
    规格
    警告:创建不带段的输出段"ECap4RegsFile"
    规格
    警告:创建不带段的输出段"ECap5RegsFile"
    规格
    警告:创建不带段的输出段"XbarRegsFile"
    规格
    警告:创建不带段的输出段"Emif1ConfigRegsFile"
    规格
    警告:创建不带段的输出段"ECap6RegsFile"
    规格
    警告:创建不带段的输出段"InputXbarRegsFile"
    规格
    警告:创建不带段的输出段"Emif2ConfigRegsFile"
    规格
    警告:创建不带段的输出段"cmps7RegsFile"
    规格
    警告:创建不带段的输出段"cmps6RegsFile"
    规格
    警告:创建不带段的输出段"cmps1RegsFile"
    规格
    警告:创建不带段的输出段"cmps8RegsFile"
    规格
    警告:创建不带段的输出段"cmps3RegsFile"
    规格
    警告:创建不带段的输出段"cmps2RegsFile"
    规格
    警告:创建不带段的输出段"cmps5RegsFile"
    规格
    警告:创建不带段的输出段"cmps4RegsFile"
    规格
    警告:创建不带段的输出段"ECap2RegsFile"
    规格
    警告:创建不带段的输出段"ECap1RegsFile"
    规格
    警告:创建不带段的输出段"I2cbRegsFile"
    规格
    警告:创建不带段的输出段"I2caRegsFile"
    规格
    警告:创建不带段的输出段"EQep1RegsFile"
    规格
    警告:创建不带段的输出段"EQep2RegsFile"
    规格
    警告:创建不带段的输出段"EQep3RegsFile"
    规格
    警告:创建不带段的输出段"McbspbRegsFile"
    规格
    警告:创建不带段的输出段"DcsmZ1RegsFile"
    规格
    警告:创建不带段的输出段"DcsZ2RegsFile"
    规格
    警告:创建不带段的输出段"McbspaRegsFile"
    规格
    警告:创建不带段的输出段"IpcRegsFile"
    规格
    警告:创建不带段的输出段"Flash0EccRegsFile"
    规格
    警告:创建不带 SECTIONS 规范的输出段"WdRegsFile"
    警告:创建不带段的输出段"GpioDataRegsFile"
    规格
    警告:创建不带段的输出段"ClkCfgRegsFile"
    规格
    警告:创建不带段的输出段"Cla1RegsFile"
    规格
    警告:创建不带段的输出节"AccessProtectRegsFile"
    规格
    警告:创建不带段的输出段"MemoryErrorRegsFile"
    规格
    警告:创建不带段的输出段"EPwmXbarRegsFile"
    规格
    警告:创建不带段的输出段"OutputXbarRegsFile"
    规格
    警告:创建不带段的输出段"uppRegsFile"
    规格
    警告:创建不带段的输出段"AnalogSubsysRegsFile"
    规格
    警告:创建不带段的输出段"Emif1RegsFile"
    规格
    警告:创建不带段的输出段"Emif2RegsFile"
    规格
    警告:创建不带段的输出段"AdcaRegsFile"
    规格
    警告:创建不带段的输出段"AdcbRegsFile"
    规格
    警告:创建不带段的输出段"AdccRegsFile"
    规格
    警告:创建不带段的输出段"MemCfgRegsFile"
    规格
    警告:创建不带段的输出段"Sdfm2RegsFile"
    规格
    警告:创建不带段的输出段"AdcdRegsFile"
    规格
    警告:创建不带段的输出段"Sdfm1RegsFile"
    规格
    警告:创建不带段的输出段"CpuSysRegsFile"
    规格
    警告:创建不带段的输出段"DMaRegsFile"
    规格
    警告:创建不带段的输出段"EPwm5RegsFile"
    规格
    警告:创建不带段的输出段"EPwm4RegsFile"
    规格
    警告:创建不带段的输出段"EPwm7RegsFile"
    规格
    警告:创建不带段的输出段"EPwm2RegsFile"
    规格
    警告:创建不带段的输出段"EPwm1RegsFile"
    规格
    警告:创建不带段的输出段"EPwm6RegsFile"
    规格
    警告:创建不带段的输出段"EPwm3RegsFile"
    规格
    警告:创建不带段的输出段"EPwm11RegsFile"
    规格
    警告:创建不带段的输出段"EPwm12RegsFile"
    规格
    警告:创建不带段的输出段"EPwm9RegsFile"
    规格
    警告:创建不带段的输出段"EPwm10RegsFile"
    规格
    警告:创建不带段的输出段"EPwm8RegsFile"
    规格
    警告:创建不带段的输出段"DevCfgRegsFile"
    规格
    警告:创建不带段的输出段"CanaRegsFile"
    规格
    警告:创建不带段的输出段"CanbRegsFile"
    规格
    警告:创建不带段的输出段"GpioCtrlRegsFile"
    规格
    警告:创建不带段的输出段"Flash0CtrlRegsFile"
    规格
    警告:创建不带段的输出段"PieVectTableFile"
    规格
    错误:".TI.ramfunc"段由__attribute__((ramfunc))或生成
    --ramfunc=on 需要段规范才能运行。
    警告:未定义入口点符号"_c_int00"
    错误:链接期间遇到错误;未构建"Blinky_cpu01.out"

    >>编译失败
    Makefile:148:目标'blinky_cpu01.out'的配方失败
    gmake:***[blinky_cpu01.out]错误1.

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

    [引用 user="Martin Konopka"]警告:入口点符号"_c_int00"未定义

    [引用 user="Martin Konopka">错误:找不到文件"libc.a"
    警告:自动 RTS 选择:尝试在索引中自动链接
    库"libc.a"失败;找不到文件

    链接器路径需要更新。

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

    我必须改变什么?

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

    您使用非 TI 标准路径。

    请找到 libc.a 文件对您的 MCU 有效的位置。

    在我的案例中、它起作用:

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Tom、
    现在两个示例程序都可以正常工作。
    非常感谢你的帮助。

    此致、
    Martin