本帖最后由 一只耳朵怪 于 2018-6-14 09:57 编辑
我将controlSUITE中的28377D的工程例子导到CCS6.1中编译,通不过,我试了下另外的一个程序,可以通过.
报错信息如下:
'Building file: C:/
ti/controlSUITE/device_support/F2837xD/v120/F2837xD_examples_Cpu1/cla_adc_fir32/cpu01/fir32.asm'
'Invoking: C2000 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v120/F2837xD_headers/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v120/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v120/F2837xD_examples_Cpu1/cla_adc_fir32/cpu01/" -g --define=CPU1 --diag_warning=225 --display_error_number --diag_suppress=10063 --diag_suppress=10068 --diag_suppress=1311 --diag_wrap=off --preproc_with_compile --preproc_dependency="fir32.pp" "C:/ti/controlSUITE/device_support/F2837xD/v120/F2837xD_examples_Cpu1/cla_adc_fir32/cpu01/fir32.asm"
1 Assembly Error, No Assembly Warnings
"C:DOCUME~1ADMINI~1LOCALS~1Temp 03004", ERROR! at line 3013: [E0800] Instructions not permitted in structure/union definitions
RPC .bits 16 ; bit field, 16 bits, 16 bit offset
>> Compilation failure
Errors in Source - Assembler Aborted
gmake: *** [fir32.obj] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
说是一个指令错误(就是CLA定义中的一个寄存器UNION),但是我程序里根本没有操作过这个位置啊....到底是什么原因....程序见附件,就是TI的原版程序.