串口中断接收设置了一个串口缓冲区 定义了开头结尾 在应用程序里面需要调用就设置了全局变量 在串口中断也需要调用这个变量 这是编译就无法通过了
extern vu16 Rx1_front; //存放从MODULE上收到数据队列的头
extern vu16 Rx1_rear; //存放从MODULE上收到数据队列的尾
extern s8 Rx1Buffer[Rx1BufferSize];
.\Obj\My test.axf: Error: L6200E: Symbol Rx1Buffer multiply defined (by usart1_jiexi.o and stm32f10x_it.o).
.\Obj\My test.axf: Error: L6200E: Symbol Rx1_front multiply defined (by main.o and stm32f10x_it.o).
.\Obj\My test.axf: Error: L6200E: Symbol Rx1_front multiply defined (by bsp.o and stm32f10x_it.o).
.\Obj\My test.axf: Error: L6200E: Symbol Rx1_front multiply defined (by app.o and stm32f10x_it.o).
.\Obj\My test.axf: Error: L6200E: Symbol Rx1_front multiply defined (by usart1_jiexi.o and stm32f10x_it.o). |