Please compile this ISR as part of your application. Probably it will work

On Tue, Jul 13, 2010 at 3:30 PM, 谢继雷 <[email protected]> wrote:
> I can make an explicit reference to that function so it is linked in the
> result binary,
> but the corresponding interrupt vector doesn't generated.
>
>
> Interrupt handler function in a.lib:
>
>     void sleepTimer() __interrupt 3 { ... }
>
> And program main.c:
>
>     void sleepTimer() __interrupt 3;
>
>     void main() {
>       // ...
>     }
>
> The corresponding interrupt vector in the result binary doesn't generated.
>
>
> Should I pass some special option to the SDCC compiler?
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Sdcc-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to