Outputtemplateaxf Error L6200E Symbol EXTI2_IRQHandler multiply defined by stm32f10x_ito and led_drivero
This error occurs when the linker finds two or more object files that define the same symbol (in this case, EXTI2_IRQHandler) and it cannot decide which one to use. In this case, the symbol is defined in both stm32f10x_it.o and led_driver.o.
To fix this error, you need to ensure that each symbol is defined only once. You can do this by making sure that the symbol is defined in only one source file and that all other files that use that symbol include a reference to it, rather than defining it themselves.
In this case, you should check the stm32f10x_it.c and led_driver.c files to see where the symbol is defined and remove the duplicate definition from one of them. Once you have done this, the linker should be able to resolve the symbol and the error should go away
原文地址: http://www.cveoy.top/t/topic/cU0j 著作权归作者所有。请勿转载和采集!