LenÉxen 发表于 2012-3-21 17:42:24

关于stm32的lib降级后的修改问题

 我把11年的lib 换成了08年的lib,修改错误之后rebuild,出现了下面的问题:Error: L 6200E: symbol FLASH_SetLatency muliply defined.(by stm32f10x_flash.o and stm32f10x_flash.o)。这是我在project中插入了 STM32F10xR.LIB之后的问题
插入前的错误是:
Debug2.axf: Error: L6218E: Undefined symbol FLASH_Unlock (referred from device.o).
Debug2.axf: Error: L6218E: Undefined symbol NVIC_Init (referred from device.o).
Debug2.axf: Error: L6218E: Undefined symbol NVIC_PriorityGroupConfig (referred from device.o).
Debug2.axf: Error: L6218E: Undefined symbol NVIC_SetVectorTable (referred from device.o).
Debug2.axf: Error: L6218E: Undefined symbol FLASH_ClearFlag (referred from flash.o).
Debug2.axf: Error: L6218E: Undefined symbol FLASH_LockBank1 (referred from flash.o).
Debug2.axf: Error: L6218E: Undefined symbol FLASH_ProgramWord (referred from flash.o).
Debug2.axf: Error: L6218E: Undefined symbol FLASH_UnlockBank1 (referred from flash.o).
我是在网上找到插入那个lib文件的解决方法。
并且每次rebuild之后都会出现"file has beenchanged outside the editor,reload?"的对话框。
求高手解答,如何解决如上问题,在插入lib文件之后的解决方法和插入lib之前的解决方法都可以。
页: [1]
查看完整版本: 关于stm32的lib降级后的修改问题