非常感谢你的帮助,同时,我想问一下,这个库中不是在ccs_v5.0_examples这个路径下有例程吗,加载完这个例子,并配置好,还需要改啥?
下面是我编译后出现的错误,不知道是什么原因。
**** Build of configuration Debug for project timer_interrupt ****
"E:\\ccsv5\utils\bin\gmake" -k all
'Building file: ../main.c'
'Invoking: C5500 Compiler'
"E:/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=large -g --include_path="C:/Users/Administrator/workspace_v5_5/timer_interrupt/include" --include_path="E:/ccsv5/tools/compiler/c5500_4.4.1/include" --define=c5517 --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
'Finished building: ../main.c'
' '
'Building file: ../lib/csl_intc.c'
'Invoking: C5500 Compiler'
"E:/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=large -g --include_path="C:/Users/Administrator/workspace_v5_5/timer_interrupt/include" --include_path="E:/ccsv5/tools/compiler/c5500_4.4.1/include" --define=c5517 --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="lib/csl_intc.pp" --obj_directory="lib" "../lib/csl_intc.c"
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1702:
[E9999]
Syntax Error
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1702:
[E9999]
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1702:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1702:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1762:
[E9999]
Syntax Error
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1762:
[E9999]
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1762:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1762:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1825:
[E9999]
Syntax Error
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1825:
[E9999]
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1825:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1825:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1833:
[E9999]
Syntax Error
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1833:
[E9999]
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1833:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1833:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
Errors in Source - Assembler Aborted
16 Assembly Errors, No Assembly Warnings
>> Compilation failure
>> Compilation failure
gmake: *** [lib/csl_intc.obj] Error 1
'Building file: ../lib/csl_sar.c'
'Invoking: C5500 Compiler'
"E:/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=large -g --include_path="C:/Users/Administrator/workspace_v5_5/timer_interrupt/include" --include_path="E:/ccsv5/tools/compiler/c5500_4.4.1/include" --define=c5517 --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="lib/csl_sar.pp" --obj_directory="lib" "../lib/csl_sar.c"
'Finished building: ../lib/csl_sar.c'
' '
gmake: Target `all' not remade because of errors.
**** Build Finished ****
非常感谢你的帮助,同时,我想问一下,这个库中不是在ccs_v5.0_examples这个路径下有例程吗,加载完这个例子,并配置好,还需要改啥?
下面是我编译后出现的错误,不知道是什么原因。
**** Build of configuration Debug for project timer_interrupt ****
"E:\\ccsv5\utils\bin\gmake" -k all
'Building file: ../main.c'
'Invoking: C5500 Compiler'
"E:/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=large -g --include_path="C:/Users/Administrator/workspace_v5_5/timer_interrupt/include" --include_path="E:/ccsv5/tools/compiler/c5500_4.4.1/include" --define=c5517 --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
'Finished building: ../main.c'
' '
'Building file: ../lib/csl_intc.c'
'Invoking: C5500 Compiler'
"E:/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=large -g --include_path="C:/Users/Administrator/workspace_v5_5/timer_interrupt/include" --include_path="E:/ccsv5/tools/compiler/c5500_4.4.1/include" --define=c5517 --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="lib/csl_intc.pp" --obj_directory="lib" "../lib/csl_intc.c"
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1702:
[E9999]
Syntax Error
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1702:
[E9999]
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1702:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1702:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1762:
[E9999]
Syntax Error
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1762:
[E9999]
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1762:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1762:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1825:
[E9999]
Syntax Error
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1825:
[E9999]
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1825:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1825:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1833:
[E9999]
Syntax Error
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1833:
[E9999]
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1833:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
"C:UsersADMINI~1AppDataLocalTemp 569210", ERROR! at line 1833:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL
Errors in Source - Assembler Aborted
16 Assembly Errors, No Assembly Warnings
>> Compilation failure
>> Compilation failure
gmake: *** [lib/csl_intc.obj] Error 1
'Building file: ../lib/csl_sar.c'
'Invoking: C5500 Compiler'
"E:/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=large -g --include_path="C:/Users/Administrator/workspace_v5_5/timer_interrupt/include" --include_path="E:/ccsv5/tools/compiler/c5500_4.4.1/include" --define=c5517 --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="lib/csl_sar.pp" --obj_directory="lib" "../lib/csl_sar.c"
'Finished building: ../lib/csl_sar.c'
' '
gmake: Target `all' not remade because of errors.
**** Build Finished ****
举报