pepeb333 pepeb333 - 1 year ago 185
C Question

STM32 interrupt handler multiply defined

I want to use interrupt handlers

void EXTI3_IRQHandler(void)

but when I build the project, I get the following error:

multiply defined (by stm32f10x_it.o and

I have included library stm32f10x_exti.h

Answer Source

Handler void EXTI3_IRQHandler(void) already defined in file stm32f10x_it.c. You can replace code of your handler from main.c to this special file or comment blank handler in stm32f10x_it.c.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download