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.

[参考译文] AM3359:编译 AM335x Profibus 从设备示例时出错

Guru**** 2694645 points

Other Parts Discussed in Thread: PROFIBUS, SYSBIOS

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1598068/am3359-error-in-compiling-am335x-profibus-slave-example

器件型号: AM3359
主题中讨论的其他器件: ProfibusSysBIOS

PL 帮助解决此错误、Thx KK

构建目标:“Profibus_slave_AM335x_arm.out"</s>“
调用:GNU 链接器
“c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc-6.3.1.exe /ti/PRU-ICSS-/ti/pdk/pdk_am335x_1_0_10/packages/ti/drv/pruss/lib/am335x/a8/release /APP/main.o /APP/profi_misc.o -mtune=cortex-A8 -marm -Dam3359 -DSOC_AM335x -O0 -g -gstrict-dwarf -Wall -MD -MP -pedantic -mfloat-abi=hard -wl Profibus_Slave_、-map /ti/pdk/pdk_am335x_1_0_10/packages/ti/drv/uart/lib/am335x/a8/release、“Profibus_slave_am335x_arm.map /ti/pdk/pdk_am335x_1_0_10/packages/ti/osal/lib/tirtos/am335x/a8/release /ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu /APP/profi_edma.o /APP/profi_hw_utils.o /APP/profi_timer.o   
Makefile:155:目标“Profibus_slave_AM335x_arm.out"的“的配置失败
C:\ti\PRU-ICSS-Support-01.00.01.01\examples\Profibus_slave\SysBIOS\sysbios.aa8fg Profibus_Slave_(GNU_ReentSupport.o):在函数`ti_sysbios_rts_GNU_Reent src Support_Module_ startup____E'中:
C:/ti/bios_6_52_00_12/packages/ti/sysbios/rts/gnu/ReentSupport.c:83:未定义对`ti_sysbios_rts_GNU_ReentSupport_checkIfCorrectLibrary'的引用
collect2.exe:错误:LD 返回 1 个退出状态
gmake[1]:***[Profibus_slave_AM335x_arm.out]错误 1
gmake:***【全部】错误 2.
Makefile:151:目标“全部“的配方失败

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

 

 

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

    团队、
    我们遵循 AM335-ICE EVM 评估套件中的示例、因为它有许多已弃用的依赖项、您能指导我们解决此错误需要安装哪些组件吗?

     

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

    该错误表明未从正确的 PDK 目录引用 SYS/BIOS。

    问题: 链接器指向:-l“C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/...“

    预期: 它应指向 PDK 目录:-L“C:/ti/pdk/bios_6_52_00_12/...“

    分辨率步骤 (CCS):

    验证产品配置:

    • 右键点击工程→Properties→General→Products
    • 确保列出了所有必需的产品(SYS/BIOS、PDK 等)并指向正确的路径

    如果缺少产品:

    • 依次转到 Window→Preferences→Products
    • 点击 Add 并浏览至 AM335x PDK 路径
    • 单击刷新—显示是否未安装任何产品
    • 选择 PDK 中缺少的产品并进行安装

    Re 验证工程设置:

    • 返回 Project Properties→General→Products
    • 确认所有产品均符合预期配置(请参阅下面的屏幕截图)

    如果您需要进一步的帮助、请告诉我。

    BR
    Jc.