Handling interrupts while using MikroSDK

Fully featured PIC compilers available on Windows, Linux, and macOS.
Post Reply
Author
Message
wuu
Posts: 115
Joined: 24 Mar 2008 00:48

Handling interrupts while using MikroSDK

#1 Post by wuu » 12 Sep 2021 21:31

Hi,

I was wondering how to handle interrupts while using MikroSDK. For example, I'm using UART from MikroSDK, additionally, I would like to use interrupt from TIMER 0 in PIC? How do I define/edit interrupt rutin that is also in use by MikroSDK UART library? If I try to define interrupt function in main, I get an error:
function [interrupt] redefined interrupt vector handler No.8, which is alredy defined by function [UART_IRQHandler]
What is the solution to that?

wuu
Posts: 115
Joined: 24 Mar 2008 00:48

Re: Handling interrupts while using MikroSDK

#2 Post by wuu » 14 Sep 2021 15:27

Hi,

I guess no one has encountered the same problem? Timer interrupts are an essential part of each application and would be really strange if you would not be able to use them together with MikroSDK? Does anyone have any comment on that?

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Handling interrupts while using MikroSDK

#3 Post by filip » 15 Sep 2021 15:40

Hi,

Currently interrupts are not implemented in the mikroSDK, I suggest using legacy project for the interrupt based code.

We have in plans to implement this in some of the future updates of the mikroSDK.

Regards,
Filip.

wuu
Posts: 115
Joined: 24 Mar 2008 00:48

Re: Handling interrupts while using MikroSDK

#4 Post by wuu » 15 Sep 2021 21:04

Hi,

These are really some of the foundametlas. Hope you will fix this soon.

Best Regards

ipestell
Posts: 86
Joined: 16 Mar 2007 12:38

Re: Handling interrupts while using MikroSDK

#5 Post by ipestell » 29 Apr 2023 16:34

filip wrote:
15 Sep 2021 15:40
Hi,

Currently interrupts are not implemented in the mikroSDK, I suggest using legacy project for the interrupt based code.

We have in plans to implement this in some of the future updates of the mikroSDK.

Regards,
Filip.
When will this happen?

Regards
Ian

Post Reply

Return to “PIC AI compilers”