Other Parts Discussed in Thread: OMAPL138, MATHLIB
Tool/software: Code Composer Studio
OMAP L-138, CCS 7.4.0.00015
In my app.cfg I have:
var McASP = xdc.loadPackage('ti.drv.mcasp');
McASP.Settings.socType = "omapl138";
In my .c file I have:
#include <ti/drv/mcasp/mcasp_drv.h>
#include <ti/drv/mcasp/soc/mcasp_soc.h>
But I get an error
#1965 cannot open source file "mcasp_types.h" .ccsproject /myproject line 93, external location: C:\ti\pdk_omapl138_1_0_4\packages\ti\drv\mcasp\soc\mcasp_soc.h C/C++ Problem
So I tried adding this to my include path
${TI_PDK_INSTALL_DIR}/packages/ti/drv/mcasp
which now gives me:
#20 identifier "CSL_AdataRegs" is undefined .ccsproject /myproject line 131, external location: C:\ti\pdk_omapl138_1_0_4\packages\ti\drv\mcasp\soc\mcasp_soc.h C/C++ Problem
#20 identifier "CSL_AfifoRegs" is undefined .ccsproject /myproject line 128, external location: C:\ti\pdk_omapl138_1_0_4\packages\ti\drv\mcasp\soc\mcasp_soc.h C/C++ Problem
#20 identifier "CSL_McaspRegs" is undefined .ccsproject /myproject line 125, external location: C:\ti\pdk_omapl138_1_0_4\packages\ti\drv\mcasp\soc\mcasp_soc.h C/C++ Problem
#35 #error directive: "Unsupported SOC !! " .ccsproject /myproject line 188, external location: C:\ti\pdk_omapl138_1_0_4\packages\ti\drv\mcasp\soc\mcasp_soc.h C/C++ Problem
but I definately see the socType in the app.cfg
What am I doing wrong? Is there a working example project I can look at?
Here's some other stuff you guys always ask me:
bios_6_52_00_12/ dsplib_c674x_3_4_0_0/ mathlib_c674x_3_1_2_1/ processor_sdk_rtos_omapl138_4_03_00_05/ uia_2_21_02_07/ xdctools_3_50_04_43_core/
ccsv7/ edma3_lld_2_12_05_30C/ mathlib_rts_c674x_3_1_2_1/ ti-cgt-arm_16.9.3.LTS/ xdais_7_24_00_04/ xdctools_3_50_05_12_core/
cg_xml/ ipc_3_47_01_00/ ndk_2_26_00_08/ ti-cgt-c6000_8.2.2/ xdctools_3_32_02_25_core/ zips/
'Code Composer Studio 7.4.0.lnk'* mathlib_c674x_3_1_1_0/ pdk_omapl138_1_0_4/ tirex-product-tree/ xdctools_3_50_03_33_core/