David, yes, there was a 'wakeup return' bug which can appear if the function is completely empty. already fixed. ~d
On Wednesday 18 December 2002 17:28, David Brown wrote: > I am using "wakeup" without any problem - I can see the relevant assembly > instruction generated (right at the end of the funciton, before the reti), > and it works fine. Are you using an older version of the compiler? Have > you set the -mmcu=msp430-... flag correctly for the compiler? > > mvh. > > David > > > > ----- Original Message ----- > From: Peter Kenyon > To: mspgcc-users@lists.sourceforge.net > Sent: Wednesday, December 18, 2002 3:17 PM > Subject: [Mspgcc-users] interrupt wakeup > > > I am using the msp430 tool chain and jolly good it is to. Well done chaps. > BUT I noticed that when I declared an interrupt function > > interrupt (TIMERA0_VECTOR) wakeup INT_TimerA_CCR0( void ) > { > } > > It seems the wakeup attribute is ignored and the compiler fails to insert > the relevant asm( "bic #0xf0,0(r1)" ); > > I did notice that enablenested attribute works as expected.... > > peter > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users -- /******************************************************************** ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys (_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44 _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314 ********************************************************************/