selective linking of ISR's

Post your requests and ideas on the future development of mikroPascal PRO for PIC32.
Post Reply
Author
Message
jpc
Posts: 1986
Joined: 22 Apr 2005 17:40
Location: France 87

selective linking of ISR's

#1 Post by jpc » 24 Apr 2011 16:23

If i build library's containing ISR's these will ALL be included in the generated code, even if they are not used.
As example, i have build a library containing 6 UART-ISR's , if i do use only 2 of them still the other 4 will be linked into the code as the compiler considers them active, it would be nice to have the possibility to exclude them from linking. It is obvious that ISR's that share the same vector cannot be used simultaneously so it makes no sense linking both ISR's , possibly a solution for this this could be integrated into the next version of the interrupt-assistant.
Au royaume des aveugles, les borgnes sont rois.

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: selective linking of ISR's

#2 Post by zristic » 03 May 2011 09:47

I am not sure we will work on the workaround in the near future. That matter is rather complex.
I will put it on the wish list, however, waiting for some better moment to implement it.
Thanks for the report anyway.

Post Reply

Return to “mikroPascal PRO for PIC32 Wish List”