From: Peter B. <bi...@ac...> - 2014-08-13 18:37:55
|
You're not using mspgcc, you're using msp430-elf which is the upstream version. It uses different functions; I don't remember offhand how they spelled the names, but they'll be in a header somewhere. Should also be compatible with any Code Composer Studio instructions you come across. Peter On Wed, Aug 13, 2014 at 12:58 PM, Christopher Toledo <ube...@gm...> wrote: > I created a gist outlining my problem here: > https://gist.github.com/uberscientist/baa627f9779d2d08ca87 > > I'll summarize: > I create an ISR, attempt to use __bic_SR_register_on_exit inside it and I > get an error saying: > "error: MSP430 builtin functions only work inside interrupt handlers" > > How do you manipulate the SR from ISRs? Thanks! > > ------------------------------------------------------------------------------ > > _______________________________________________ > Mspgcc-users mailing list > Msp...@li... > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > |