Hi,
I tried to add more functions (such as read&write data to SD card) to the STETHSystem.pjt provided by 5515EVM + Digital Stethoscope Front-End Module because the project can only transfer data to PC and cannot store the data. So I downloaded the C55XCSL-LOWPOWER-2.10.00.00 and found there was an example (CSL_MMCSD_SdCardExample_Out.pjt) which can do this. I copied the contents of main.c file of CSL_MMCSD_SdCardExample_Out.pjt to the main.c file of STETHSystem.pjt, and also changed the include search path to make it work, I did not change the .cmd file because I copied the .cmd of STETHSystem.pjt to CSL_MMCSD_SdCardExample_Out.pjt and it was OK. Then I compiled the STETHSystem.pjt, there was an error,
"D:/TMS320C55XXCSL/c55xx_csl/inc/csl_types.h", line 72: error: expected an identifier
the location is: 71 typedef enum { 72 CSL_FAIL = 0, 73 CSL_PASS = 1 74 } CSL_Test;
so I don't know what's wrong. I have combined the CSL_MMCSD_SdCardExample_Out.pjt and CSL_NAND_PollExample_Out.pjt in this way (they are all from C55XCSL-LOWPOWER-2.10.00.00), and the combined project worked well.
So I guess if it's the problem of the version of CSL. I have no idea how TI created STETHSystem.pjt, I found several folders like /src and /inc under the StethSystem_v_0_12 folder which may be the CSL of the STETHSystem.pjt project.
anyway, I just want to find an easy way to add more functions to STETHSystem.pjt, because I think it's too complicated to write the "read&write SD card codes" all by myself.
I don't know if this way is right, if not, how could I achieve the "read&write SD card" function, or if there were something I did wrong. And I am a novice, where should I search for the information?
Thank you in advance,
Gao Jiao