Part Number: AM5728
Tool/software: TI-RTOS
Hi,
Can anybody help me to migrate codes using syslink to IPC3.x?
#include <ti/ipc/Std.h> /* must be first */
#include <xdc/runtime/IHeap.h>
#include <xdc/runtime/Memory.h>
//#include <ti/syslink/IpcHost.h>
//#include <ti/syslink/SysLink.h>
#include <ti/ipc/MultiProc.h>
//#include <ti/syslink/utils/Memory.h>
#include <ti/ipc/Notify.h>
#include <ti/ipc/SharedRegion.h>
I had commented syslink header files ,and add #include <xdc/runtime/IHeap.h> , #include <xdc/runtime/Memory.h> for using SharedRegion_getHeap() function.However , compiler throws out error:
/home/pascal/ti-processor-sdk-rtos-am57xx-evm-03.01.00.06/xdctools_3_32_00_06_core/packages/xdc/std.h:97: error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
#error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
^
Do I need to set defines or write a cfg file for xdctool to use ? Or replace SharedRegion call by CMEM ? I hope the code is less modified and not to add device's configuration in app's makefile.