This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我在使用 TMS320F28034 汇编时,如果在 添加头文件 PeripheralHeaderIncludes.h ,就会出现 [E0800] Instructions not permitted in structure/union definitions错误,这是什么原因。
如果我不添加 PeripheralHeaderIncludes.h,,可以正常编译,可是在汇编中,不能使用 ADC ,EPWM的寄器
;.cdecls C,LIST,"PeripheralHeaderIncludes.h"
--diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="Source/App/DPL-ISR.d_raw" --obj_directory="Source/App" "../Source/App/DPL-ISR.asm"
1 Assembly Error, No Assembly Warnings
>> Compilation failure
Source/App/subdir_rules.mk:16: recipe for target 'Source/App/DPL-ISR.obj' failed
"C:\Users\ADMINI~1\AppData\Local\Temp\{5636A755-D0E4-4075-AAEC-329890F4C5D2}", ERROR! at line 4140: [E0800] Instructions not permitted in structure/union definitions
DP .bits 1 ; bit field, 1 bits, 24 bit offset
Errors in Source - Assembler Aborted
gmake: *** [Source/App/DPL-ISR.obj] Error 1