Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

declare ISR to be weak

$
0
0
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
 

Viewing all articles
Browse latest Browse all 2077

Trending Articles