Other Parts Discussed in Thread: CCSTUDIO
I am using CCSV4.1.2 and attempting to import and build the USB_Stick_Sample from:
http://support.spectrumdigital.com/boards/usbstk5515/reva/
I have had issues importing this (possibly due to macros.ini - thanks to SD for keeping things simple) but have added include paths to compiler build settings. The compiler is looking for system_drv.h but can not find it. I have searched my entire drive and I can not find this either.
Where should system_drv.h be? I have tried commenting out the #include from i2s_sample.c but this generates more errors so I guess it is required.
Here is the compiler log:
C:\CCStudio_v4.1.2\ccsv4\utils\gmake\gmake -k all asm/subdir.mk:51: warning: overriding commands for target `vector.obj' src/subdir.mk:139: warning: ignoring old commands for target `vector.obj' 'Building file: ../src/i2s_sample.c' 'Invoking: Compiler' "C:/CCStudio_v4.1.2/ccsv4/tools/compiler/c5500/bin/cl55" -vcpu:3.3 -g --define="_DEBUG" --define="C55X" --include_path="C:/CCStudio_v4.1.2/ccsv4/tools/compiler/c5500/include" --include_path="C:/CCStudio_v4.1.2/c55xx_csl/inc" --include_path="../inc" --include_path="C:/CCS4Work/Projects/usbstk5515bsl/include" --include_path="C:/CCS4Work/Projects/EZDSP_Sample V0.0/Debug" --include_path="C:/CCStudio_v4.1.2/bios_5_41_02_14/packages/ti/bios/include" --include_path="C:/CCStudio_v4.1.2/bios_5_41_02_14/packages/ti/rtdx/include/c5500" --diag_warning=225 --ptrdiff_size=32 --algebraic --memory_model=large --asm_source=algebraic --preproc_with_compile --preproc_dependency="src/i2s_sample.pp" "../src/i2s_sample.c" "../src/i2s_sample.c", line 44: fatal error: could not open source file "system_drv.h" 1 fatal error detected in the compilation of "../src/i2s_sample.c". Compilation terminated. Regards, Andrew