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.
dsp28035的ti例程,我在 DSP2803x_Device.h添加#include "CLAShared.h"为何编译会出现错误啊
#include "DSP2803x_PieCtrl.h" // PIE Control Registers
#include "DSP2803x_PieVect.h" // PIE Vector Table
#include "DSP2803x_Spi.h" // SPI Registers
#include "DSP2803x_Sci.h" // SCI Registers
#include "DSP2803x_SysCtrl.h" // System Control/Power Modes
#include "DSP2803x_XIntrupt.h" // External Interrupts
#include "CLAShared.h"
还有一个奇怪现象
本来原程序中Example_2803xClaAdcFir.c有头文件--#include "CLAShared.h" 正常
#include "DSP28x_Project.h" // includes all of the header files and defines used in the
// example projects
#include "CLAShared.h" // includes all of the shared variables (shared between
// C28x C source and CLA assembly code)
为何我在DSP2803x_GlobalVariableDefs.c中添加--#include "CLAShared.h" 就异常了?
#include "DSP2803x_Device.h" // DSP2803x Headerfile Include File
#include "CLAShared.h"
编译完提示结果:
"DSP2803x_GlobalVariableDefs.c", line 15: fatal error: could not open source file "CLAShared.h"
1 fatal error detected in the compilation of "DSP2803x_GlobalVariableDefs.c".
Compilation terminated.
>> Compilation failure