Re: Harmony2 PIC32MX aria_quickstart
☼ Best Answerby AlexGiov_uc 2020/03/25 04:01:02
The error is saying that two different interrupt handlers are defined for a single interrupt vector, which is not allowed. You can see from the error that it is interrupt vector #12. Having a look at Section 7 of the datasheet for the device on the PIC32 USB Starter Kit II (which is what I assume you are using) shows that vector #12 is for Timer 3. Also, you can see from the error that a Timer 3 interrupt handler is defined in both firmware/src/system_config/pic32mx_usb_sk2_lcc_pictail_qvga/system_interrupt.c and firmware/src/system_config/pic32mx_usb_sk2_lcc_pictail_qvga/framework/driver/input/touch_adc/src/drv_touch_adc.c. I'm not familiar enough with that example project to know which one of those is supposed to be used, but in Harmony you will usually find interrupts put into the former location, so I'd lean towards that.