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/AM5728:从 SysLink 迁移到 IPC 时出现问题

Guru**** 2581345 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/631599/rtos-am5728-problem-migrating-from-syslink-to-ipc

器件型号:AM5728

工具/软件:TI-RTOS

您好!

有人可以帮助我 使用 syslink 将代码迁移到 IPC3.x 吗?

#include /*必须首先是*/
#include
#include

//#include
//#include
#include
//#include
#include
#include

   我已经注释 了 syslink 头文件,  并添加  了#include , #include 对于使用 SharedRegion_getHeap() 函数。但是,编译器抛出错误:

    

/home/pascal/ti-processor-sdk-rtos-am57xx-evm-03.01.00.06/xdctools_3_32_00_06_core/packages/xdc/std.h:97:错误:#ERROR XDC_TARGET_Types__必须被定义为包含 XDC_Int8、XDC_Int16、...的定义的特定于目标的标头。
#ERROR XDC_TARGET_Types__必须被定义为包含 XDC_Int8、XDC_Int16定义的目标特定标头的名称、...
^μ A

我是否需要设置定义或编写 cfg 文件以便 xdctool 使用?  或者 用  CMEM 替代共享区调用?  我希望 代码修改得更少、而不 是在 应用的 makefile 文件中添加器件配置。

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

    您可以参阅 IPC 版本中的现有示例以了解应包含哪些头文件、请参阅 IPC_3_x/examples/DRA7XX_BIOS_elf/ex02_MessageQ/

    CMEM 用于 Linux 应用程序、如果您仅使用 RTOS、则应坚持使用 SharedRegion。

    此致、
    Garrett