I'm in the process of switching a project for a C64P device from DSP/BIOS to SYSBIOS (using CCS6). The project consists of one main application which links against several TI and third-party libraries. Some of these libraries have references to for example the LCK module, which I exchanged for the GateMutex module. The E2E forum has been absolutely great and so far things went relatively smooth.
However, I am now running into a problem with one of our own libraries where I include <xdc/std.h> and get the following compile-time error:
"C:/ti/xdctools_3_25_04_88/packages/xdc/runtime/package/package.defs.h", line 61: error #20:
identifier "xdc_Bits32" is undefined
typedef struct xdc_runtime_IGateProvider___Object { xdc_runtime_IGateProvider_Fxns__* __fxns; xdc_Bits32 __label; } *xdc_runtime_IGateProvider_Handle;
This type is defined in "C:/ti/xdctools_3_25_04_88/packages/ti/targets/std.h", which is not included in "package.defs.h" (but perhaps on a different include level it the should have?).
These are my includes:
C:\ti\xdctools_3_25_04_88\packages
C:\ti\bios_6_35_04_50\packages
"${CG_TOOL_ROOT}/include"
"${XDAIS_CG_ROOT}/packages/ti/xdais"
"${C6000_CSL_CG_ROOT}/include"
"${SRC_ROOT}/src"
predefined symbols:
xdc_target_name__=C64P
xdc_target_types__=ti/targets/std.h
I have 2 questions:
1) Is this the right approach? I just imported a "legacy CCS3.3 project" thinking I would convert any DSP/BIOS references manually. I tried the xs conversion tool as described in spraas7, but this gave so many issues that I decided to do a manual conversion (which for the main project was relatively painless).
2) What is the right method for referencing the SYSBIOS equivalent of what used to be <std.h> (on my system located in “c:\ti\bios_5_41_10_36\packages\ti\bios\include\std.h”)? I followed directions I found here (to be honest, this was a bit of a shot in the dark...).
Thanks!
Dirk