使用TI例程测试SPI flash中发现编译的时候遇到一下问题,尝试了好久没有解决,麻烦能够解答一下不胜感激:
**** Build of configuration Debug for project spiflash ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k all
'Building file: ../main.c'
'Invoking: C5500 Compiler'
"C:/ti/ccsv7/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=large -O1 -g --include_path="C:/ti/ccsv7/tools/compiler/c5500_4.4.1/include" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="/include" --include_path="../../../include" --define=_DEBUG --diag_warning=225 --ptrdiff_size=32 --no_bad_aliases --std_lib_func_defined --asm_listing --obj_directory="/Debug" --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
>> Compilation failure
>> Compilation failure
subdir_rules.mk:9: recipe for target '/Debug/main.obj' failed
"C:\Users\keylock\AppData\Local\Temp\172603", ERROR! : [E1000] cannot open
listing file
/Debug/main.lst:
No such file or
directory
"C:\Users\keylock\AppData\Local\Temp\1064810", ERROR! at EOF: [E1500]
file access error: failed to open "/Debug/main.obj" for writing
"C:\Users\keylock\AppData\Local\Temp\1064810", ERROR! : [E1000] Failed to write
object file :
/Debug/main.obj
gmake: *** [/Debug/main.obj] Error 1
'Building file: ../spiflash.c'
'Invoking: C5500 Compiler'
"C:/ti/ccsv7/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=large -O1 -g --include_path="C:/ti/ccsv7/tools/compiler/c5500_4.4.1/include" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="/include" --include_path="../../../include" --define=_DEBUG --diag_warning=225 --ptrdiff_size=32 --no_bad_aliases --std_lib_func_defined --asm_listing --obj_directory="/Debug" --preproc_with_compile --preproc_dependency="spiflash.d_raw" "../spiflash.c"
>> Compilation failure
>> Compilation failure
subdir_rules.mk:16: recipe for target '/Debug/spiflash.obj' failed
"../spiflash.c", line 53: warning: integer conversion resulted in a change of sign
"../spiflash.c", line 172: warning: shift count is too large
"../spiflash.c", line 183: warning: shift count is too large
"../spiflash.c", line 229: warning: shift count is too large
"C:\Users\keylock\AppData\Local\Temp\159123", ERROR! : [E1000] cannot open
listing file
/Debug/spiflash.lst:
No such file or
directory
"C:\Users\keylock\AppData\Local\Temp\0958410", ERROR! at EOF: [E1500]
file access error: failed to open "/Debug/spiflash.obj" for writing
"C:\Users\keylock\AppData\Local\Temp\0958410", ERROR! : [E1000] Failed to write
object file :
/Debug/spiflash.obj
'Building file: ../spiflash_test.c'
'Invoking: C5500 Compiler'
"C:/ti/ccsv7/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=large -O1 -g --include_path="C:/ti/ccsv7/tools/compiler/c5500_4.4.1/include" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="/include" --include_path="../../../include" --define=_DEBUG --diag_warning=225 --ptrdiff_size=32 --no_bad_aliases --std_lib_func_defined --asm_listing --obj_directory="/Debug" --preproc_with_compile --preproc_dependency="spiflash_test.d_raw" "../spiflash_test.c"
>> Compilation failure
>> Compilation failure
subdir_rules.mk:23: recipe for target '/Debug/spiflash_test.obj' failed
gmake: *** [/Debug/spiflash.obj] Error 1
"C:\Users\keylock\AppData\Local\Temp\189643", ERROR! : [E1000] cannot open
listing file
/Debug/spiflash_test.lst:
No such file or
directory
"C:\Users\keylock\AppData\Local\Temp\1373610", ERROR! at EOF: [E1500]
file access error: failed to open "/Debug/spiflash_test.obj" for
writing
"C:\Users\keylock\AppData\Local\Temp\1373610", ERROR! : [E1000] Failed to write
object file :
/Debug/spiflash_test.obj
gmake: *** [/Debug/spiflash_test.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****