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.

[参考译文] RTOS/TMDXIDK5728:缺少 SPI 示例链接器命令文件

Guru**** 2587365 points
Other Parts Discussed in Thread: SYSBIOS

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/593498/rtos-tmdxidk5728-spi-example-linker-command-file-missing

器件型号:TMDXIDK5728

工具/软件:TI-RTOS

位于 TI-RTOS PDK 目录中名为 mcspiLoopbackApp.c 的 SPI 示例程序未完成编译。 创建对象和.map 文件后、问题出在链接中。 以下是版本信息、

     pdk_am57xx_1_0_5

     BIOS_6_46_01_38

     EDMA3_LLD_2_12_02_26

     xdctools_3_32_01_22_core

     CCSv7

makefile 的示例路径是、

      /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/drv/spi/example/mcspiLoopbackApp

我必须直接转到该位置进行编译、并使用简单的命令"make"。

我希望它将包含在 PDK SPI 示例和测试的'main'编译位置中、

     /home/user01/ti/pdk_am57xx_1_0_5/packages

在这里、我一直在尝试使用以下环境变量限制编译、

limit_boards=idkAM572x
limit_cores=c66x
limit_SoCs=am572x

此外、main make 还仅创建目标文件.oe66、不创建要尝试的可执行文件。

============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

请访问/home/user01/ti/pdk_am57xx_1_0_5/packages/ti/binary/drv_mcspi_loopback_app/bin/idkAM572x/drv_mcspi_loopback_app_c66x_release.xe66
make[1]:输入目录`/home/user01/ti/pdk_am57xx_1_0_5/packages/ti/drv/spi/example/mcspiLoopbackApp
链接到/home/user01/ti/pdk_am57xx_1_0_5/packages/ti/binary/drv_mcspi_loopback_app/bin/idkAM572x/drv_mcspi_loopback_app_c66x_release.xe66...
编号
/home/user01/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/bin/lnk6x --emit_warning_as 错误--warn_sections -q -e=_c_int00 --silicon_version=6600 -c     /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/binary/drv_mcspi_loopback_app/obj/idkAM572x/c66x/release/mcspiLoopbackApp.oe66 -l -o /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/binary/drv_mcspi_loopback_app/bin/idkAM572x/drv_mcspi_loopback_app_c66x_release.xe66 -m /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/binary/drv_mcspi_loopback_app/bin/idkAM572x/drv_mcspi_loopback_app_c66x_release.xe66.map -l/home/user01/ti/pdk_am57xx_1_0_5/packages/ti/amti/am572x/ti/am572x/cn/release/tise/c66_kb/tex/kb/tex/ti/ti_66_kb/am/am/amepdk/cn/release.ti/cn/tools/ti/ti/ti/ti/ti/ti/am/ti/ti/am/ti_b/texample/kb/tex/am/am/am/am/am/am/kb/tex.ti_b/ts/ti_b/tis/cn/release/kb/ts/ti/cn/release/kb/ts/ti/cn/release/kb/ts/ti_66_b/t/amb/tise/kb/at/cn/release.ti/cn/kb/at/cn/release.ti/cn/tools/ms/ts/ts/
错误:找不到文件"-o"
错误:找不到文件
  "/home/user01/ti/pdk_am57xx_1_0_5/packages/ti/binary/drv_mcspi_loopback_app
  bin/idkAM572x/drv_mcspi_loopback _app_c66x_release.xe66"
错误:创建没有 SECTIONS 规范的输出段".neeardata"
错误:创建没有 SECTIONS 规范的输出段".bss"
错误:创建没有 SECTIONS 规范的输出段".text"
错误:在没有 SECTIONS 规范的情况下创建输出段".const"
错误:创建没有 SECTIONS 规范的输出段".fardata"
错误:创建不带 SECTIONS 规范的输出段".cinit"
错误:在没有 SECTIONS 规范的情况下创建输出段".stack"
错误:创建没有 SECTIONS 规范的输出段".sysmim"
错误:创建没有 SECTIONS 规范的输出段".far"
错误:创建没有 SECTIONS 规范的输出段".switch"
错误:创建没有 SECTIONS 规范的输出段".CIO"
错误:创建默认大小为0x400的".stack"段;使用-stack
  更改默认大小的选项
错误:创建默认大小为0x400的".sysmim"段;使用-heap
  更改默认大小的选项

 未定义                               的首次引用                                                                                                           
 符号                                                                                                                                                     
 ------                                --------                                                                                                           
 TI_SYSBIOS_BIOS_EXIT__E                 /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/binary/drv_mcspi_loopback_app/obj/idkAM572x/c66x/release/mcspiLoopbackApp.oe66
 TI_SYSBIOS_BIOS_start__E                /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/binary/drv_mcspi_loopback_app/obj/idkAM572x/c66x/release/mcspiLoopbackApp.oe66
 TI_SYSBIOS_hal_Hwi_HwiProxy_disable__E  /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66             
 TI_SYSBIOS_hal_Hwi_HwiProxy_RESTORE_E  /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66             
 TI_SYSBIOS_hal_Hwi_Params__init_S      /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66             
 TI_SYSBIOS_hal_Hwi_con构            /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66             
 TI_SYSBIOS_hal_Hwi_析 构             /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66             
 TI_SYSBIOS_hal_Hwi_enableInterrupt__E   /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66             
 TI_SYSBIOS_KNL_Semaphore_Params__init_S /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66       
 TI_SYSBIOS_KNL_Semaphore_con构      /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66       
 TI_SYSBIOS_KNL_Semaphore_析 构       /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66       
 TI_SYSBIOS_KNL_Semaphore_Pend__E        /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66       
 TI_SYSBIOS_KNL_Semaphore_post__E        /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66       
 TI_SYSBIOS_KNL_Task_create              /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/binary/drv_mcspi_loopback_app/obj/idkAM572x/c66x/release/mcspiLoopbackApp.oe66
 xdc_runtime_assert_arce_i             /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66            
 XDC_RAuntime_Error_init__E               /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/binary/drv_mcspi_loopback_app/obj/idkAM572x/c66x/release/mcspiLoopbackApp.oe66
 XDC_RAuntime_Main_Module_id__C          /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66            
 xdc_runtime_Memory_alloc_E             /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66       
 XDC_RAuntime_Memory_free__E              /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/osal/lib/tirtos/am572x/c66/release/ti.osal.ae66       
 xdc_runtime_System_printf__E            /home/user01/ti/pdk_am57xx_1_0_5/packages/ti/binary/drv_mcspi_loopback_app/obj/idkAM572x/c66x/release/mcspiLoopbackApp.oe66

错误:未解析的符号仍然存在
错误:链接期间遇到错误;未生成"a.out"
maked[1]:***[/home/user01/ti/pdk_am57xx_1_0_5/packages/ti/binary/drv_mcspi_loopback_app/bin/idkAM572x/drv_mcspi_loopback_app_c66x_release.xe66错误1
make[1]:离开目录`/home/user01/ti/pdk_am57xx_1_0_5/packages/ti/drv/spi/example/mcspiLoopbackApp
制造:***[c66x]错误2.

============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    RTOS 团队已收到通知。 他们将在这里作出回应。