declare ISR to be weak

Robert Wessels <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <[email protected]>
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:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.