errors encountered during linking; "E:/Code of TMS320F28335 CCS4/v120/DSP2833x_examples/epwm_updown_aq/Debug/Example_2833xEPwmUpDownAQ.o ut" not built
unresolved symbol _epwm2_isr, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitAdc, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm1Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm2Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitGpio, first referenced in E:/Code Example_2833xEPwmUpDownAQ
而程序中我大部分是有声明的
void InitGpio(void);void AdcInit(void);void InitAdc(void);
void InitEPwm1Example(void);void InitEPwm2Example(void);
void InitEPwm3Example(void);void InitEPwm4Example(void);
interrupt void epwm1_isr(void);interrupt void epwm2_isr(void);interrupt void epwm3_isr(void);interrupt void epwm4_isr(void);
Young Hu:
外设相关的C文件是链接到工程中的?
相应的头文件都包含进去了么?
errors encountered during linking; "E:/Code of TMS320F28335 CCS4/v120/DSP2833x_examples/epwm_updown_aq/Debug/Example_2833xEPwmUpDownAQ.o ut" not built
unresolved symbol _epwm2_isr, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitAdc, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm1Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm2Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitGpio, first referenced in E:/Code Example_2833xEPwmUpDownAQ
而程序中我大部分是有声明的
void InitGpio(void);void AdcInit(void);void InitAdc(void);
void InitEPwm1Example(void);void InitEPwm2Example(void);
void InitEPwm3Example(void);void InitEPwm4Example(void);
interrupt void epwm1_isr(void);interrupt void epwm2_isr(void);interrupt void epwm3_isr(void);interrupt void epwm4_isr(void);
Young Hu:
回复 Young Hu:
建议在TI例程基础上进行添加和修改
errors encountered during linking; "E:/Code of TMS320F28335 CCS4/v120/DSP2833x_examples/epwm_updown_aq/Debug/Example_2833xEPwmUpDownAQ.o ut" not built
unresolved symbol _epwm2_isr, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitAdc, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm1Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm2Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitGpio, first referenced in E:/Code Example_2833xEPwmUpDownAQ
而程序中我大部分是有声明的
void InitGpio(void);void AdcInit(void);void InitAdc(void);
void InitEPwm1Example(void);void InitEPwm2Example(void);
void InitEPwm3Example(void);void InitEPwm4Example(void);
interrupt void epwm1_isr(void);interrupt void epwm2_isr(void);interrupt void epwm3_isr(void);interrupt void epwm4_isr(void);
Eric Ma:
fuheng,
你的声明是放在哪里?在外设初始化源文件那里应该也加入相应的头文件进行声明。如果你在main中调用这些外设函数,应该在main中进行external 声明。
Eric
errors encountered during linking; "E:/Code of TMS320F28335 CCS4/v120/DSP2833x_examples/epwm_updown_aq/Debug/Example_2833xEPwmUpDownAQ.o ut" not built
unresolved symbol _epwm2_isr, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitAdc, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm1Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm2Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitGpio, first referenced in E:/Code Example_2833xEPwmUpDownAQ
而程序中我大部分是有声明的
void InitGpio(void);void AdcInit(void);void InitAdc(void);
void InitEPwm1Example(void);void InitEPwm2Example(void);
void InitEPwm3Example(void);void InitEPwm4Example(void);
interrupt void epwm1_isr(void);interrupt void epwm2_isr(void);interrupt void epwm3_isr(void);interrupt void epwm4_isr(void);
fuheng que:
回复 Young Hu:
我是在TI的例程基础上修改的..
errors encountered during linking; "E:/Code of TMS320F28335 CCS4/v120/DSP2833x_examples/epwm_updown_aq/Debug/Example_2833xEPwmUpDownAQ.o ut" not built
unresolved symbol _epwm2_isr, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitAdc, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm1Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm2Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitGpio, first referenced in E:/Code Example_2833xEPwmUpDownAQ
而程序中我大部分是有声明的
void InitGpio(void);void AdcInit(void);void InitAdc(void);
void InitEPwm1Example(void);void InitEPwm2Example(void);
void InitEPwm3Example(void);void InitEPwm4Example(void);
interrupt void epwm1_isr(void);interrupt void epwm2_isr(void);interrupt void epwm3_isr(void);interrupt void epwm4_isr(void);
fuheng que:
回复 Young Hu:
在includes里面可不可以?
errors encountered during linking; "E:/Code of TMS320F28335 CCS4/v120/DSP2833x_examples/epwm_updown_aq/Debug/Example_2833xEPwmUpDownAQ.o ut" not built
unresolved symbol _epwm2_isr, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitAdc, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm1Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm2Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitGpio, first referenced in E:/Code Example_2833xEPwmUpDownAQ
而程序中我大部分是有声明的
void InitGpio(void);void AdcInit(void);void InitAdc(void);
void InitEPwm1Example(void);void InitEPwm2Example(void);
void InitEPwm3Example(void);void InitEPwm4Example(void);
interrupt void epwm1_isr(void);interrupt void epwm2_isr(void);interrupt void epwm3_isr(void);interrupt void epwm4_isr(void);
fuheng que:
回复 Eric Ma:
我的声明是放在我主程序main{}的前面,还包括一些变量的定义
errors encountered during linking; "E:/Code of TMS320F28335 CCS4/v120/DSP2833x_examples/epwm_updown_aq/Debug/Example_2833xEPwmUpDownAQ.o ut" not built
unresolved symbol _epwm2_isr, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitAdc, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm1Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm2Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitGpio, first referenced in E:/Code Example_2833xEPwmUpDownAQ
而程序中我大部分是有声明的
void InitGpio(void);void AdcInit(void);void InitAdc(void);
void InitEPwm1Example(void);void InitEPwm2Example(void);
void InitEPwm3Example(void);void InitEPwm4Example(void);
interrupt void epwm1_isr(void);interrupt void epwm2_isr(void);interrupt void epwm3_isr(void);interrupt void epwm4_isr(void);
fuheng que:
回复 Eric Ma:
而且我看在TI给的例程里面,也没对这个进行external的声明
errors encountered during linking; "E:/Code of TMS320F28335 CCS4/v120/DSP2833x_examples/epwm_updown_aq/Debug/Example_2833xEPwmUpDownAQ.o ut" not built
unresolved symbol _epwm2_isr, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitAdc, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm1Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm2Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitGpio, first referenced in E:/Code Example_2833xEPwmUpDownAQ
而程序中我大部分是有声明的
void InitGpio(void);void AdcInit(void);void InitAdc(void);
void InitEPwm1Example(void);void InitEPwm2Example(void);
void InitEPwm3Example(void);void InitEPwm4Example(void);
interrupt void epwm1_isr(void);interrupt void epwm2_isr(void);interrupt void epwm3_isr(void);interrupt void epwm4_isr(void);
fuheng que:
回复 Eric Ma:
虽然我还没解决问题,不过还是要感谢你。
errors encountered during linking; "E:/Code of TMS320F28335 CCS4/v120/DSP2833x_examples/epwm_updown_aq/Debug/Example_2833xEPwmUpDownAQ.o ut" not built
unresolved symbol _epwm2_isr, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitAdc, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm1Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitEPwm2Example, first referenced in E:/Code Example_2833xEPwmUpDownAQ
unresolved symbol _InitGpio, first referenced in E:/Code Example_2833xEPwmUpDownAQ
而程序中我大部分是有声明的
void InitGpio(void);void AdcInit(void);void InitAdc(void);
void InitEPwm1Example(void);void InitEPwm2Example(void);
void InitEPwm3Example(void);void InitEPwm4Example(void);
interrupt void epwm1_isr(void);interrupt void epwm2_isr(void);interrupt void epwm3_isr(void);interrupt void epwm4_isr(void);
user4244150:
楼主你好 你能把你code of TMS320F28335 CCS4这个实验源码文件包给我发一份吗? 我的邮箱是hkjzlei@126.com 之前在程序员网站上下了一份,但是那上面的不全我在CCS4.2上用不了 现在还是初学者 所以看你在用 想向你要一份 万分感激!