declare ISR to be weak

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

declare ISR to be weak

Robert Wessels
Hello MSPGCC users,

Is there any way to make an ISR weak so that it can be overridden by user code?
The problem I have is that in the Energia core I have a set of timer ISR's that are used for PWM. I would like to make those weak so that a library can declare the same ISR which would then override the ISR in the core.
Without this I am getting the "multiple definition of `__isr_XX'" as one would expect.

Thanks a bunch!

Robert
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Mspgcc-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users