undefined first referenced
symbol in file ——— —————-
_ADC_ia ./Adc.obj _ADC_ib ./Adc.obj _ADC_ic ./Adc.obj _ADC_id ./Adc.obj _Gear ./Gpio.objerror #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "f28377d_dsp01_cup01.out" not built
我在main.h里定义了
extern volatile int Gear[9];
extern volatile long int ADC_ia[12],ADC_ib[12],ADC_ic[12],ADC_id[12];
在Adc.c和Gpio.c里都包含了
#include "main.h"
Susan Yang:
建议上传/私信一下工程,谢谢
,
Susan Yang:
您需要在main.c内添加定义
volatile long int ADC_ia[12],ADC_ib[12],ADC_ic[12],ADC_id[12];
,
Susan Yang:
感谢确认答案!后续有其他问题,欢迎随时发帖