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.

IPC 的example->Minimal use of IPC在哪里?

IPC use guide  1.4章里说 有example 位置:<

<ipc_install_dir> /packages/ti/sdo/ipc/examples/multicore/ directory contains a platform-specific “notify” example for this scenario.

但是我的IPC 里边没有这个:如图,我去哪里找example?

  • 您目前使用的这个版本里没有,老版本如mcsdk_02_01_02_06里是有的。
    PSDK IPC的使用请参考:
    software-dl.ti.com/.../index_Foundational_Components.html
  • Nancy,

       我按照你发的网页的4.4.4.1. Building IPC Examples 的说法去 build all of the IPC examples.

    但是提示 no rules to make target 'ipc_examples'.Stop

    截图:

  • 在processor_sdk_rtos_<platform>_x_xx_xx_xx文件夹下编译看看。

    cd <RTOS_SDK_INSTALL_DIR>/processor_sdk_rtos_<platform>_x_xx_xx_xx

    setupenv.bat

    gmake ipc_examples

  • 弄了好长时间,在文档:software-dl.ti.com/processor-sdk-rtos/esd/docs/06_03_00_106/rtos/index_Foundational_Components.html#ipc 中的

    4.4.5 IPC Lab 1 的PDF版本中发现了答案:

    首先我安装到 IPC:C:\ti\ipc_3_50_04_08 中有example(有且仅有这一个,其他的没哟,去哪里下呢?):C:\ti\ipc_3_50_04_08\examples\C6678_bios_elf\ex11_ping

    但是example需要build,怎么build,就要按照PDF中将的来:修改products.mak文件:

    我修改的部分如下:

    DEPOT = c:/ti

    BIOS_INSTALL_DIR = $(DEPOT)/bios_6_76_03_01
    IPC_INSTALL_DIR = $(DEPOT)/ipc_3_50_04_08
    XDC_INSTALL_DIR = $(DEPOT)/ccs1010/xdctools_3_61_02_27_core

    ti.targets.elf.C66     = $(DEPOT)/ti-cgt-c6000_8.3.2

    其实就是你装软件的路径;

    最坑的是,需要你电脑上安装JDK!还要设置环境变量:新建环境变量:XDCTOOLS_JAVA_HOME ,变量值填入你安装的JAVA的路径,比如我的JAVA安装在了:C:\Program Files\Java\jdk1.8.0_251 这里,新建的环境变量需要系统重新启动才能生效!

    以上步骤都做完之后就可以MAKE了:在CMD命令行里 先进入你example所在的文件夹:cd  C:\ti\ipc_3_50_04_08\examples\C6678_bios_elf\ex11_ping

    然后敲命令:gmake,就可以漫长的等待了,要编译8个核心!

  • 目前就是这一个例程,其他的例程是涉及ARM core的。